diff --git a/fsl/scripts/extract_noise.py b/fsl/scripts/fsl_ents.py similarity index 100% rename from fsl/scripts/extract_noise.py rename to fsl/scripts/fsl_ents.py diff --git a/setup.py b/setup.py index ffcf92bb1731a334a964db1c2386c6937c018bae..d1212cc37dd875176bbbb267cdb5135787c0f00d 100644 --- a/setup.py +++ b/setup.py @@ -124,7 +124,7 @@ setup( 'imglob = fsl.scripts.imglob:main', 'atlasq = fsl.scripts.atlasq:main', 'atlasquery = fsl.scripts.atlasq:atlasquery_emulation', - 'fsl_ents = fsl.scripts.extract_noise:main', + 'fsl_ents = fsl.scripts.fsl_ents:main', ] } ) diff --git a/tests/test_extract_noise.py b/tests/test_fsl_ents.py similarity index 96% rename from tests/test_extract_noise.py rename to tests/test_fsl_ents.py index 7bb4b99176316fb5e7efe04710db77a3de2ec700..abbdad3ede6071ce44abda88f7966d341892ff47 100644 --- a/tests/test_extract_noise.py +++ b/tests/test_fsl_ents.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# test_extract_noise.py - +# test_fsl_ents.py - # # Author: Paul McCarthy <pauldmccarthy@gmail.com> # @@ -12,7 +12,7 @@ import numpy as np import pytest import fsl.utils.tempdir as tempdir -import fsl.scripts.extract_noise as extn +import fsl.scripts.fsl_ents as extn def test_genComponentIndexList(): @@ -87,7 +87,7 @@ def test_loadConfoundFiles(): extn.loadConfoundFiles(conffiles, npts) -def test_extract_noise(): +def test_fsl_ents(): with tempdir.tempdir() as td: @@ -115,13 +115,13 @@ def test_extract_noise(): assert np.all(np.loadtxt('out.txt') == exp) -def test_extract_noise_usage(): +def test_fsl_ents_usage(): with pytest.raises(SystemExit) as e: extn.main([]) assert e.value.code == 0 -def test_extract_noise_badargs(): +def test_fsl_ents_badargs(): with pytest.raises(SystemExit) as e: extn.main(['non-existent.ica', '1', '2', '3'])