Skip to content

Commit

Permalink
Remove the hard-coded values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ananth Reddy authored and Ananth Reddy committed Nov 1, 2021
1 parent c8702f3 commit eaf288c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/workflows/ModalityGrouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def modality_split(cold_extraction_path, modality_split_path):
shutil.copy2(src=cold_extraction_path+str(dcm_path), dst=modality_split_path+str(dcm_modality)+'/'+str(dcm_only_folder)+'/'+str(dcm_path.split('/')[-1]))

if __name__ == "__main__":
cold_extraction_path = '/home/aredd30/larynx_extract/cold_extraction/' # sys.argv[1]
modality_split_path = '/home/aredd30/larynx_extract/modality_split/' # sys.argv[2]
cold_extraction_path = sys.argv[1]
modality_split_path = sys.argv[2]
print ('Starting Modality Grouping')
modality_split(cold_extraction_path, modality_split_path)

0 comments on commit eaf288c

Please sign in to comment.