Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into doc_improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dowdlelt committed Nov 8, 2019
2 parents 528c44f + d2e1fc6 commit 2e90d29
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- community
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions to tedana:tada: !
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
5 changes: 4 additions & 1 deletion tedana/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ def test_integration_five_echo(skip_integration):
# download data and run the test
download_test_data('https://osf.io/9c42e/download',
os.path.dirname(out_dir))
prepend = '/tmp/data/five-echo/p06.SBJ01_S09_Task11_e'
suffix = '.sm.nii.gz'
datalist = [prepend + str(i+1) + suffix for i in range(5)]
tedana_workflow(
data='/tmp/data/five-echo/p06.SBJ01_S09_Task11_e[1,2,3,4,5].sm.nii.gz',
data=datalist,
tes=[15.4, 29.7, 44.0, 58.3, 72.6],
out_dir=out_dir,
debug=True, verbose=True)
Expand Down
2 changes: 2 additions & 0 deletions tedana/workflows/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ def tedana_workflow(data, tes, mask=None, mixm=None, ctab=None, manacc=None,

# coerce data to samples x echos x time array
if isinstance(data, str):
if not op.exists(data):
raise ValueError('Zcat file {} does not exist'.format(data))
data = [data]

LGR.info('Loading input data: {}'.format([f for f in data]))
Expand Down

0 comments on commit 2e90d29

Please sign in to comment.