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

Use absolute import in dipy/direction #996

sahmed95 opened this Issue Mar 22, 2016 · 0 comments


None yet
1 participant

sahmed95 commented Mar 22, 2016

Please refer to the original issue #969. Use absolute import in place of relative for all .py files inside /dipy. Take care not to change .pyx or init files

    6  from warnings import warn
    8: from ..utils.six.moves import xrange
   10  from nibabel.tmpdirs import InTemporaryDirectory

    3  discrete distribution (pmf) at each step of the tracking."""
    4  import numpy as np
    5: from .peaks import peak_directions, default_sphere
    6  from dipy.reconst.shm import order_from_ncoef, sph_harm_lookup
    7  from dipy.tracking.local.direction_getter import DirectionGetter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment