From 0b1a303a5e433311c44aa980df0d44b1a5e0f421 Mon Sep 17 00:00:00 2001 From: Daniel Asay Date: Tue, 2 Jul 2024 08:52:50 -0400 Subject: [PATCH] fix indentation --- dwiqc/tasks/qsiprep.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dwiqc/tasks/qsiprep.py b/dwiqc/tasks/qsiprep.py index 698b7fd..7a61bc4 100644 --- a/dwiqc/tasks/qsiprep.py +++ b/dwiqc/tasks/qsiprep.py @@ -355,11 +355,11 @@ def extract_vols(self, dwi_full_path, dwi_basename): def execute_fmap_truncation(self): - """ - If truncate fmaps is true, this method will go through all of the fmaps in the fmap BIDS dir and make sure they are only one volume in length - """ + """ + If truncate fmaps is true, this method will go through all of the fmaps in the fmap BIDS dir and make sure they are only one volume in length + """ if self._truncate_fmap: - fmap_files = self._layout.get(subject=self._sub, session=self._ses, suffix='epi', extension='.nii.gz', return_type='filename') + fmap_files = self._layout.get(subject=self._sub, session=self._ses, suffix='epi', extension='.nii.gz', return_type='filename') for fmap in fmap_files: shape = nib.load(fmap).get_fdata().shape