Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielasay committed Jul 2, 2024
1 parent 17c689c commit 0b1a303
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dwiqc/tasks/qsiprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b1a303

Please sign in to comment.