Skip to content

Commit

Permalink
Update rapidtide.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Sep 26, 2024
1 parent 4df6124 commit c7315d3
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/fmripost_rapidtide/interfaces/rapidtide.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import os

import yaml
from nipype.interfaces.base import (
CommandLine,
CommandLineInputSpec,
Expand Down Expand Up @@ -466,15 +465,8 @@ class RetroGLM(CommandLine):

def _list_outputs(self):
outputs = self._outputs().get()
out_dir = os.getcwd()
outputname = self.inputs.outputname
outputs['delay_map'] = os.path.join(out_dir, f'{outputname}_desc-maxtime_map.nii.gz')
outputs['regressor_file'] = os.path.join(
out_dir,
f'{outputname}_desc-refinedmovingregressor_timeseries.tsv.gz',
)
outputs['denoised'] = os.path.join(
out_dir,
f'{outputname}_desc-lfofilterCleaned_bold.nii.gz',
)
datafileroot = self.inputs.datafileroot
outputs['delay_map'] = f'{datafileroot}_desc-maxtime_map.nii.gz'
outputs['regressor_file'] = f'{datafileroot}_desc-refinedmovingregressor_timeseries.tsv.gz'
outputs['denoised'] = f'{datafileroot}_desc-lfofilterCleaned_bold.nii.gz'

Check warning on line 471 in src/fmripost_rapidtide/interfaces/rapidtide.py

View check run for this annotation

Codecov / codecov/patch

src/fmripost_rapidtide/interfaces/rapidtide.py#L468-L471

Added lines #L468 - L471 were not covered by tests
return outputs

0 comments on commit c7315d3

Please sign in to comment.