Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Oct 3, 2023
1 parent bf0a427 commit 34292e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clinicadl/utils/caps_dataset/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def _get_meta_data(self, idx: int) -> Tuple[str, str, str, int, int]:
label = self.label_fn(target)
domain = self.df.loc[image_idx, "domain"] # TO CHECK
domain = self.domain_fn(domain)

else:
label = -1
domain = None

return participant, session, cohort, elem_idx, label, domain

Expand Down

0 comments on commit 34292e5

Please sign in to comment.