Skip to content

Commit

Permalink
[TEST] Use variable for integration test filename
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarkello committed Nov 7, 2019
1 parent 3b966fa commit 796a0d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tedana/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ def test_integration_five_echo(skip_integration, include_five_echo):
if skip_integration or not include_five_echo:
pytest.skip('Skipping five-echo integration test')
out_dir = '/data/five-echo/TED.five-echo'
out_filename = '/tedana/.circleci/tedana_outputs_verbose.txt'
tedana_workflow(
data='/data/five-echo/p06.SBJ01_S09_Task11_e[1,2,3,4,5].sm.nii.gz',
tes=[15.4, 29.7, 44.0, 58.3, 72.6],
out_dir=out_dir,
debug=True, verbose=True)
check_outputs('/tedana/.circleci/tedana_outputs_verbose.txt', out_dir)
check_outputs(out_filename, out_dir)


def test_integration_three_echo(skip_integration):
Expand All @@ -56,9 +57,10 @@ def test_integration_three_echo(skip_integration):
if skip_integration:
pytest.skip('Skipping three-echo integration test')
out_dir = '/data/three-echo/TED.three-echo'
out_filename='/tedana/.circleci/tedana_outputs.txt'
tedana_workflow(
data='/data/three-echo/three_echo_Cornell_zcat.nii.gz',
tes=[14.5, 38.5, 62.5],
out_dir=out_dir,
tedpca='kundu', png=True)
check_outputs('/tedana/.circleci/tedana_outputs.txt', out_dir)
check_outputs(out_filename, out_dir)

0 comments on commit 796a0d2

Please sign in to comment.