ClearAnatomics / ClearMap

ClearMap 2 with WobblyStitcher, TubeMap and CellMap
https://clearanatomics.github.io/ClearMapDocumentation/
GNU General Public License v3.0
114 stars 45 forks source link

missing ClearMap.Alignment.orientation module in branch vasculature_analysis #141

Closed edoumazane closed 7 months ago

edoumazane commented 7 months ago

Module is missing and i could not retrieve those functions elsewhere

File ~/code/ChristophKirst/ClearMap2/ClearMap/Alignment/Resampling.py:40 37 from ClearMap.Utils.TagExpression import Expression 39 from .Transformations.Transformation import TransformationBase ---> 40 from ClearMap.Alignment.orientation import (format_orientation, orientation_to_transposition, orient_resolution, 41 orient_shape, orient, orient_points) 44 def resample_shape_from_resolution(original_shape, original_resolution, resampled_resolution, 45 orientation=None, discretize=True): 46 """Calculate the resampled shape given resolution information. 47 48 Arguments (...) 64 The shape of the resampled data array. 65 """

ModuleNotFoundError: No module named 'ClearMap.Alignment.orientation'

edoumazane commented 7 months ago

Related error

File ~/code/ChristophKirst/ClearMap2/ClearMap/Alignment/Annotation.py:51 48 import ClearMap.IO.IO as clearmap_io 49 import ClearMap.IO.FileUtils as fu ---> 51 from ClearMap.Alignment.Resampling import orientation_to_transposition, format_orientation 52 import ClearMap.Utils.HierarchicalDict as hdict 54 from ClearMap.Alignment.utils import create_label_table

ImportError: cannot import name 'orientation_to_transposition' from 'ClearMap.Alignment.Resampling'

edoumazane commented 7 months ago

This branch is stale. Working branch is on dev