Skip to content

Commit

Permalink
DEL: Remove old commented code in fMRI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientourbier committed Mar 3, 2021
1 parent 62f3ef3 commit c903395
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions cmp/pipelines/functional/fMRI.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,32 +502,6 @@ def process(self):

return True, 'Processing successful'

# self.subject = old_subject

# except Exception:
#
# self.subject = old_subject
# iflogger.info("**** Processing terminated :< ****")
#
# return False,'Processing unsucessful'

# # Clean undesired folders/files
# rm_file_list = ['rh.EC_average','lh.EC_average','fsaverage']
# for file_to_rm in rm_file_list:
# if os.path.exists(os.path.join(self.base_directory,file_to_rm)):
# os.remove(os.path.join(self.base_directory,file_to_rm))
#
# # copy .ini and log file
# outdir = os.path.join(self.base_directory,"RESULTS",'fMRI',now)
# if not os.path.exists(outdir):
# os.makedirs(outdir)
# shutil.copy(self.config_file,outdir)
# shutil.copy(os.path.join(self.base_directory,'LOG','pypeline.log'),outdir)

# iflogger.info("**** Processing finished ****")
#
# return True,'Processing sucessful'

def create_pipeline_flow(self, cmp_deriv_subject_directory, nipype_deriv_subject_directory):
"""Create the pipeline workflow.
Expand Down

0 comments on commit c903395

Please sign in to comment.