Skip to content

Commit 6bb0edf

Browse files
authored
Merge pull request #133 from neuroscout/fix/uploads
Fix upload grabbing
2 parents 9eafed5 + 9a11616 commit 6bb0edf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

neuroscout_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.5.2'
1+
__version__ = '0.5.3'

neuroscout_cli/commands/run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run(self, upload_only=False):
4343
str(out_dir),
4444
'dataset',
4545
f'--model={model_path}',
46-
'--ignore=/(.*desc-confounds_regressors.tsv)/',
46+
'--ignore=/(.*desc-confounds_regressors.*)/',
4747
f'--derivatives={str(self.bundle_dir.absolute())} {str(self.preproc_dir.absolute())}',
4848
f'--smoothing={smoothing}:Dataset',
4949
f'--estimator={estimator}'
@@ -109,11 +109,11 @@ def run(self, upload_only=False):
109109

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

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

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
docopt==0.6.2
22
datalad==0.10.2
33
tqdm
4-
pyns==0.4.6
4+
pyns==0.4.7
55
git+https://github.com/bids-standard/pybids.git@maint/0.13.x

0 commit comments

Comments
 (0)