Skip to content

Commit

Permalink
analyzer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlevitas committed Jun 9, 2022
1 parent bcdf059 commit 55c3fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/analyzer/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def generate_dataset_list(uploaded_files_list):
print("JSON file: {}".format(json_file))

corresponding_nifti = [x for x in nifti_list if json_file[:-4] in x
if "nii.gz" in x][0]
if ".nii" in x or ".nii.gz" in x][0]

#Phase encoding direction info
if "PhaseEncodingDirection" in json_data:
Expand Down

0 comments on commit 55c3fff

Please sign in to comment.