Skip to content

Commit

Permalink
Merge pull request #133 from neuroscout/fix/uploads
Browse files Browse the repository at this point in the history
Fix upload grabbing
  • Loading branch information
adelavega authored Aug 11, 2021
2 parents 9eafed5 + 9a11616 commit 6bb0edf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion neuroscout_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.2'
__version__ = '0.5.3'
6 changes: 3 additions & 3 deletions neuroscout_cli/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self, upload_only=False):
str(out_dir),
'dataset',
f'--model={model_path}',
'--ignore=/(.*desc-confounds_regressors.tsv)/',
'--ignore=/(.*desc-confounds_regressors.*)/',
f'--derivatives={str(self.bundle_dir.absolute())} {str(self.preproc_dir.absolute())}',
f'--smoothing={smoothing}:Dataset',
f'--estimator={estimator}'
Expand Down Expand Up @@ -109,11 +109,11 @@ def run(self, upload_only=False):

group = [str(i) for i in images.glob('*statmap.nii.gz')
if re.match(
'.*stat-[t|F|variance|effect]+.*', i.name)]
'.*stat-(t|F|variance|effect)+.*', i.name)]

if neurovault == 'all':
sub = [str(i) for i in images.glob('sub*/*statmap.nii.gz')
if re.match('.*stat-[variance|effect]+.*', i.name)]
if re.match('.*stat-(variance|effect)+.*', i.name)]
else:
sub = None

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docopt==0.6.2
datalad==0.10.2
tqdm
pyns==0.4.6
pyns==0.4.7
git+https://github.com/bids-standard/pybids.git@maint/0.13.x

0 comments on commit 6bb0edf

Please sign in to comment.