Skip to content

Commit c4fee16

Browse files
committed
unloading HPC module fsl to use fsleyes through conda
1 parent bab5e99 commit c4fee16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dsst_defacing_wf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ def main():
189189
with open(output / 'logs' / 'failed_afni_refacer_output.txt', 'w') as f:
190190
f.write('\n'.join(afni_refacer_failures)) # TODO Not very useful when running the pipeline in parallel
191191

192+
# unload fsl module and use fsleyes installed on conda env
193+
run_command(f"module unload fsl")
194+
192195
# reorganizing the directory with defaced images into BIDS tree
193196
print(f"Reorganizing the directory with defaced images into BIDS tree...\n")
194197
reorganize_into_bids(input_dir, defacing_outputs, mapping_dict, no_clean)

0 commit comments

Comments
 (0)