Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Oct 1, 2024
1 parent 0b182e6 commit 11aaf3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/npc_lims/status/tracked_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ def add_tracked_ephys_sessions_from_spreadsheet(
if (x := row.get('Injection substance', '')) or row.get('is perturbation experiment', None) is not None:
if x:
if 'control' in x.lower() or 'acsf' in x.lower():
session_kwargs['is_injection_control'] = True
session_kwargs['is_injection_control'] = True # type: ignore [assignment]
else:
session_kwargs['is_injection_perturbation'] = True
session_kwargs['is_injection_perturbation'] = True # type: ignore [assignment]
else:
session_kwargs['is_perturbation'] = 'unknown_type'

Expand Down

0 comments on commit 11aaf3b

Please sign in to comment.