Skip to content

Commit

Permalink
codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scap3yvt authored Nov 28, 2023
1 parent 020a6f7 commit 5a3cbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GANDLF/compute/forward_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def validate_network(
subject_dict = {}
label_ground_truth = None
label_present = False
# this is when we want the dataloader to pick up properties of GaNDLF's DataLoader,
# such as pre-processing and augmentations, if appropriate
# this is when we want the dataloader to pick up properties of GaNDLF's
# DataLoader, such as pre-processing and augmentations, if appropriate
if "label" in subject:
if subject["label"] != ["NA"]:
subject_dict["label"] = torchio.LabelMap(
Expand Down

0 comments on commit 5a3cbc1

Please sign in to comment.