-
Notifications
You must be signed in to change notification settings - Fork 533
fix: some lgtm errors #2478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: some lgtm errors #2478
Conversation
nipype/algorithms/misc.py
Outdated
@@ -1202,6 +1202,9 @@ def normalize_tpms(in_files, in_mask=None, out_files=[]): | |||
|
|||
in_files = np.atleast_1d(in_files).tolist() | |||
|
|||
if not out_files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if out_files is None
@mgxd - can you merge with master |
Codecov Report
@@ Coverage Diff @@
## master #2478 +/- ##
==========================================
+ Coverage 66.66% 66.67% +0.01%
==========================================
Files 328 327 -1
Lines 42529 42417 -112
Branches 5278 5262 -16
==========================================
- Hits 28350 28280 -70
+ Misses 13500 13457 -43
- Partials 679 680 +1
Continue to review full report at Codecov.
|
Fixes #2475
Addresses some of the issues in
https://lgtm.com/projects/g/nipy/nipype/alerts/?mode=tree&severity=error
This includes the removal of:
nipype.pipeline.plugins.ipythonx
nipype.interfaces.nipy.FmriRealign4d
nipype.interfaces.ants.antsCorticalThickness
nipype.interfaces.ants.antsBrainExtraction