Skip to content

Commit 6a32d67

Browse files
committed
Add GFA plot.
1 parent c6f7bd1 commit 6a32d67

File tree

5 files changed

+18
-22
lines changed

5 files changed

+18
-22
lines changed

analysis/plot_qsirecon_scalar_maps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
patterns = {
1515
"DSIStudio GQI FA": "qsirecon-DSIStudioGQI/sub-*/ses-1/dwi/*_space-MNI152NLin2009cAsym_model-tensor_param-fa_dwimap.nii.gz",
1616
"DSIStudio GQI MD": "qsirecon-DSIStudioGQI/sub-*/ses-1/dwi/*_space-MNI152NLin2009cAsym_model-tensor_param-md_dwimap.nii.gz",
17+
"DSIStudio GQI GFA": "qsirecon-DSIStudioGQI/sub-*/ses-1/dwi/*_space-MNI152NLin2009cAsym_model-gqi_param-gfa_dwimap.nii.gz",
1718
}
1819
for title, pattern in patterns.items():
1920
# Get all scalar maps

figures/DSIStudio_GQI_GFA.png

152 KB
Loading

processing/run_tedana.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,6 @@ def run_tedana(raw_dir, fmriprep_dir, aroma_dir, temp_dir, tedana_out_dir):
121121
)
122122
assert os.path.isfile(mask), mask
123123

124-
t2star = os.path.join(
125-
fmriprep_dir,
126-
subject,
127-
"ses-1",
128-
"func",
129-
f"{mask_base}_part-mag_T2starmap.nii.gz",
130-
)
131-
assert os.path.isfile(t2star), t2star
132-
133124
# Get the fMRIPrep confounds file and identify the number of non-steady-state volumes
134125
confounds_file = os.path.join(
135126
fmriprep_dir,
@@ -154,6 +145,16 @@ def run_tedana(raw_dir, fmriprep_dir, aroma_dir, temp_dir, tedana_out_dir):
154145

155146
# Get the fMRIPost-AROMA mixing file
156147
mask_base = "_".join([p for p in mask_base.split("_") if not p.startswith("dir")])
148+
149+
t2star = os.path.join(
150+
fmriprep_dir,
151+
subject,
152+
"ses-1",
153+
"func",
154+
f"{mask_base}_space-boldref_T2starmap.nii.gz",
155+
)
156+
assert os.path.isfile(t2star), t2star
157+
157158
mixing = os.path.join(
158159
aroma_dir,
159160
subject,

processing/slurm-6025568.out

Lines changed: 0 additions & 13 deletions
This file was deleted.

processing/slurm-6025805.out

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/var/spool/slurmd/job6025805/slurm_script: line 9: /cbica/projects/pafin/.bashrc: Permission denied
2+
Run 'mamba init' to be able to run mamba activate/deactivate
3+
and start a new shell session. Or use conda to activate/deactivate.
4+
5+
File "/gpfs/fs001/cbica/projects/pafin/code/processing/run_tedana.py", line 156
6+
assert os.path.isfile(t2star), t2star
7+
TabError: inconsistent use of tabs and spaces in indentation

0 commit comments

Comments
 (0)