{"action":"opened","issue":{"url":"https://api.github.com/repos/nipy/dipy/issues/978","repository_url":"https://api.github.com/repos/nipy/dipy","labels_url":"https://api.github.com/repos/nipy/dipy/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/nipy/dipy/issues/978/comments","events_url":"https://api.github.com/repos/nipy/dipy/issues/978/events","html_url":"https://github.com/nipy/dipy/issues/978","id":142103258,"number":978,"title":"Use absolute import in align","user":{"login":"sahmed95","id":6968324,"avatar_url":"https://avatars.githubusercontent.com/u/6968324?v=3","gravatar_id":"","url":"https://api.github.com/users/sahmed95","html_url":"https://github.com/sahmed95","followers_url":"https://api.github.com/users/sahmed95/followers","following_url":"https://api.github.com/users/sahmed95/following{/other_user}","gists_url":"https://api.github.com/users/sahmed95/gists{/gist_id}","starred_url":"https://api.github.com/users/sahmed95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahmed95/subscriptions","organizations_url":"https://api.github.com/users/sahmed95/orgs","repos_url":"https://api.github.com/users/sahmed95/repos","events_url":"https://api.github.com/users/sahmed95/events{/privacy}","received_events_url":"https://api.github.com/users/sahmed95/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-19T21:46:22Z","updated_at":"2016-03-19T21:46:22Z","closed_at":null,"body":"Refer to #969 \r\n\r\n```python\r\n/dipy/dipy/align/scalespace.py:\r\n    1: from . import floating\r\n    2  import numpy as np\r\n    3  import numpy.linalg as npl\r\n\r\n/dipy/dipy/align/sumsqdiff.pyx:\r\n    4  cimport cython\r\n    5  cimport numpy as cnp\r\n    6: from .fused_types cimport floating, number\r\n    7  cdef extern from \"dpy_math.h\" nogil:\r\n    8      int dpy_isinf(double)\r\n\r\n/dipy/dipy/align/tests/test_crosscorr.py:\r\n    1  import numpy as np\r\n    2  from numpy.testing import assert_array_almost_equal\r\n    3: from .. import floating\r\n    4: from .. import crosscorr as cc\r\n    5  \r\n    6  def test_cc_factors_2d():\r\n\r\n/dipy/dipy/align/tests/test_expectmax.py:\r\n    4                             assert_array_almost_equal,\r\n    5                             assert_raises)\r\n    6: from .. import floating\r\n    7: from .. import expectmax as em\r\n    8  \r\n    9  \r\n\r\n/dipy/dipy/align/tests/test_imwarp.py:\r\n    7                             assert_array_almost_equal,\r\n    8                             assert_raises)\r\n    9: from ...data import get_data\r\n   10: from .. import floating\r\n   11: from .. import imwarp as imwarp\r\n   12: from .. import metrics as metrics\r\n   13: from .. import vector_fields as vfu\r\n   14: from .. import VerbosityLevels\r\n   15: from ..imwarp import DiffeomorphicMap\r\n   16  \r\n   17  \r\n\r\n/dipy/dipy/align/tests/test_metrics.py:\r\n    1  import numpy as np\r\n    2  from scipy import ndimage\r\n    3: from .. import floating\r\n    4: from ..metrics import SSDMetric, CCMetric, EMMetric\r\n    5  from numpy.testing import (assert_array_equal,\r\n    6                             assert_array_almost_equal,\r\n\r\n/dipy/dipy/align/tests/test_scalespace.py:\r\n    6                             assert_equal,\r\n    7                             assert_raises)\r\n    8: from .. import floating\r\n    9: from ..imwarp import get_direction_and_spacings\r\n   10: from ..scalespace import (ScaleSpace,\r\n   11                            IsotropicScaleSpace)\r\n   12: from .test_imwarp import get_synthetic_warped_circle\r\n   13  \r\n   14  def test_scale_space():\r\n\r\n/dipy/dipy/align/tests/test_sumsqdiff.py:\r\n    1  import numpy as np\r\n    2: from .. import floating\r\n    3: from .. import sumsqdiff as ssd\r\n    4  from numpy.testing import (assert_equal,\r\n    5                             assert_almost_equal,\r\n\r\n/dipy/dipy/align/tests/test_transforms.py:\r\n    1: from ..transforms import regtransforms, Transform\r\n    2  import numpy as np\r\n    3  from numpy.testing import (assert_array_equal,\r\n\r\n/dipy/dipy/align/tests/test_vector_fields.py:\r\n    7  from scipy.ndimage.interpolation import map_coordinates\r\n    8  from nibabel.affines import apply_affine, from_matvec\r\n    9: from ...core import geometry\r\n   10: from .. import floating\r\n   11: from .. import imwarp\r\n   12: from .. import vector_fields as vfu\r\n   13: from ..transforms import regtransforms\r\n   14: from ..parzenhist import sample_domain_regular\r\n   15  \r\n   16  \r\n\r\n/dipy/dipy/align/vector_fields.pyx:\r\n    7  cimport numpy as cnp\r\n    8  cimport cython\r\n    9: from .fused_types cimport floating, number\r\n   10  cdef extern from \"dpy_math.h\" nogil:\r\n   11      double floor(double)\r\n```"}}