Skip to content

Commit

Permalink
debugging session modality identification
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Feb 18, 2024
1 parent 568852e commit 2d6f179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xnat_ingest/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def make_session_id(cls, project_id, subject_id, visit_id):
def modalities(self) -> ty.Set[str]:
modalities = self["Modality"]
if not isinstance(modalities, str):
modalities = set(tuple(m) if not isinstance(str) else m for m in modalities)
modalities = set(tuple(m) if not isinstance(m, str) else m for m in modalities)
return modalities

@property
Expand Down

0 comments on commit 2d6f179

Please sign in to comment.