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

dipy/align/mattes.pyx doctest import error #662

matthew-brett opened this Issue Jun 7, 2015 · 1 comment


None yet
2 participants

matthew-brett commented Jun 7, 2015

Doctest failure on several buildbots:

FAIL: Doctest: dipy.align.mattes.__test__.sample_domain_regular (line 1288)
Traceback (most recent call last):
  File "c:\Python33\Lib\", line 2179, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for dipy.align.mattes.__test__.sample_domain_regular (line 1288)
  File "c:\buildslaves\win7-32-mini\dipy-bdist32-33\build\venv\lib\site-packages\dipy-0.10.0.dev0-py3.3-win32.egg\dipy\align\mattes.pyd", line unknown line number, in sample_domain_regular (line 1288)

File "c:\buildslaves\win7-32-mini\dipy-bdist32-33\build\venv\lib\site-packages\dipy-0.10.0.dev0-py3.3-win32.egg\dipy\align\mattes.pyd", line ?, in dipy.align.mattes.__test__.sample_domain_regular (line 1288)
Failed example:
    from dipy.align.mattes import sample_domain_2d_regular
Exception raised:
    Traceback (most recent call last):
      File "c:\Python33\Lib\", line 1313, in __run
        compileflags, 1), test.globs)
      File "<doctest dipy.align.mattes.__test__.sample_domain_regular (line 1288)[0]>", line 1, in <module>
        from dipy.align.mattes import `
    ImportError: cannot import name sample_domain_2d_regular

I think the import error is correct, there doesn't seem to be any such function sample_domain_2d_regular . Could this be a leftover from some renaming?


This comment has been minimized.


skoudoro commented Jul 31, 2017

closing. This file do not exist anymore and doctest pass.

@skoudoro skoudoro closed this Jul 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment