Skip to content

Conversation

mgxd
Copy link
Member

@mgxd mgxd commented Apr 5, 2017

corrections file is no longer generated by FILMGLS.
"""

if LooseVersion(FSVersion) >= LooseVersion("5.0.7"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if FSL is not installed?

Copy link
Member Author

@mgxd mgxd Apr 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then FSLVersion would be "0"

BaseInterfaceInputSpec)
from .base import FSLCommand, FSLCommandInputSpec, Info

FSVersion = "0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace this section with the version property in FSL base class.

@codecov-io
Copy link

codecov-io commented Apr 5, 2017

Codecov Report

Merging #1940 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #1940 +/- ## ========================================== + Coverage 72.47% 72.47% +<.01%  ========================================== Files 1063 1063 Lines 54153 54149 -4 Branches 7811 7811 ========================================== - Hits 39249 39247 -2  + Misses 13684 13682 -2  Partials 1220 1220
Flag Coverage Δ
#smoketests 72.47% <100%> (ø) ⬆️
#unittests 70.02% <80%> (ø) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/fsl/model.py 80.57% <100%> (+0.21%) ⬆️
nipype/interfaces/utility/base.py 90.64% <0%> (-0.37%) ⬇️
nipype/interfaces/utility/tests/test_base.py 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56b2a62...c77e00d. Read the comment docs.

"""

if Info.version() and LooseVersion(Info.version()) >= LooseVersion("5.0.7"):
warn("ContrastMgr is deprecated in FSL 5.0.7+", DeprecationWarning)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use DeprecationWarning without import warn

@satra satra merged commit 7b3fffc into nipy:master Apr 12, 2017
@mgxd mgxd deleted the doc/constrastmgr branch April 12, 2017 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants