Skip to content

Commit

Permalink
Add flair to processing check (#1028)
Browse files Browse the repository at this point in the history
* improvements of Genfi

* Revert "improvements of Genfi"

This reverts commit c79fb80.

* add_flair_to_processing_check

---------

Co-authored-by: JOULOT Matthieu <[email protected]>
Co-authored-by: JOULOT Matthieu <[email protected]>
  • Loading branch information
3 people authored Dec 4, 2023
1 parent 9a40c3f commit 5894f73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clinica/iotools/utils/data_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,12 @@ def compute_missing_processing(bids_dir, caps_dir, out_file):
else:
row_df.loc[0, "t1-linear"] = "0"

# Check flair-linear outputs
if path.exists(path.join(session_path, "flair_linear")):
row_df.loc[0, "flair-linear"] = "1"
else:
row_df.loc[0, "flair-linear"] = "0"

# Check t1-freesurfer outputs
if path.exists(path.join(session_path, "t1", "freesurfer_cross_sectional")):
row_df.loc[0, "t1-freesurfer"] = "1"
Expand Down

0 comments on commit 5894f73

Please sign in to comment.