balbasty / nitorch

Neuroimaging in PyTorch
Other
83 stars 14 forks source link

Switch from absolute to relative imports #17

Open balbasty opened 4 years ago

balbasty commented 4 years ago

Nitorch imports should use relative indexing, i.e.,

# In file nitorch/bar.py
from nitorch.foo import fun   # NO
from .foo import fun          # YES

Please reference this issue when making these changes in the code base.