-
Notifications
You must be signed in to change notification settings - Fork 532
Fix/misc test fixes #1757
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/misc test fixes #1757
Conversation
* upstream/master: (28 commits) less brittle test don't calculate var/stddev twice don't let divide by zero errors pass by specify tab delimiter try longer timeout revert identity transform use from io import open fix up test (e.g. pep8) chdir back to original dir before deleting tempdir revert 4d validation, fix input spec desc add headers to outputs of compcor, framewise displacement + test fix pull from nipy/nipype master merge with master make specs don't load the whole thing into memory check and error if input to fsl ApplyTopUp is not 4 dimensional better test less mysterious error messages Add more informative error msg test specs auto ...
* upstream/master: better test Revert "my own nipype version" fix test Update __init__.py in fsl interfaces to have new ApplyXFM my own nipype version fix outputs test Revert "fix fast??" fix fast?? fix README after neurostars is down m m ApplyXfm -> ApplyXFM fix: hierarchy typo add: itername to track hierarchy + iterables fix: missing import tst: added test case test: use fullname
…g the same assert as the previous one
…me lines from travis
…RT and COVERAGE_DATA_FILE from travis again
…re used only locally in test functions)
* upstream/master: missed skipif fixed multiproc plugin deadlock problem and re-enabled tests && not valid in python... check to make sure keep_temporary_files is defined add auto generated spec test for changed file fix error accessing brainextraction input add new files to ants brain extraction output spec and list outputs
…apnode * dorota/pytest_satrarev: it looks like codecov works at the end, removing COVERAGE_PROCESS_START and COVERAGE_DATA_FILE from travis again trying to fix coverage (codecov doesnt report anything), restoring some lines from travis removing workflows from the directories that are omitted restore get_info in nipype/__init__.py Removing nosetest from nipype/__init__.py; pytest version is missing for now fixing the travis file removing coverage from travis (so the coverage is calculated from Circle CI only) removing fixes removing scripts from tools directory that are not used anymore changing test_auto_TCompCor.py to the output of checkspecs.py adding the auto test for ACompCor changing a simple assert to np.isclose in test_icc_anova cleaning:removing pdb restring one skipif in interfaces/tests/test_io.py removing one test from interfaces/tests/test_base.py; it was repeating the same assert as the previous one fixing one assert in test_math restoring 2 tests that had only import statement, changing comments
…propriate connections
…apnode * dorota/pytest_satrarev: removing test_BEDPOSTX.py and test_XFibres.py (auto tests wont be created anyway) changing %s to format in test_maths (in all places that the strings are used only locally in test functions)
Current coverage is 72.41% (diff: 78.10%)@@ master #1757 diff @@
==========================================
Files 1028 1055 +27
Lines 50665 52823 +2158
Methods 0 0
Messages 0 0
Branches 7335 7672 +337
==========================================
+ Hits 36039 38252 +2213
+ Misses 13499 13359 -140
- Partials 1127 1212 +85
|
@chrisfilo, @oesteban, @djarecka - any help would be much appreciated here: for the moment ignore that this PR passes - it doesn't have the correct test. as you can see py3 gives the correct answer, py2 does not. note the error pattern. A test function:
py27 output:
py35 output
|
@satra: can't repeat your output from py.27. My output from py27 looks like output from py35 |
@djarecka - finally found the culprit, but no solution yet. see the second line - if you comment it then the code runs properly.
|
@satra : that would explain, why I didn't get the same output for py27 yesterday, since I simply copy your code that was without this line. regarding solution (at least temporary): |
@djarecka - needed for other tests. that's something we cannot change immediately. for the moment i've pushed some code that should enable all of these tests to pass. but we need to clean up traits sometime soon. |
this includes changes from #1751