Skip to content
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

Fixed import error in StatisticsPointList.py #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jemajet
Copy link

@jemajet jemajet commented Aug 2, 2023

The change in this commit was causing import ClearMap.Compile as outlined in the installation docs to fail with the error

>>> import ClearMap.Compile
ClearMap.ImageProcessing.Binary.Filling
ClearMap.ImageProcessing.Clipping.Clipping
ClearMap.ImageProcessing.Differentiation.Hessian
ClearMap.ImageProcessing.Filter.Rank
ClearMap.ImageProcessing.Thresholding.Thresholding
ClearMap.ImageProcessing.Tracing.Trace
ClearMap.ParallelProcessing.DataProcessing.ArrayProcessing
ClearMap.ParallelProcessing.DataProcessing.ConvolvePointList
ClearMap.ParallelProcessing.DataProcessing.DevolvePointList
ClearMap.ParallelProcessing.DataProcessing.MeasurePointList
ClearMap.ParallelProcessing.DataProcessing.StatisticsPointList
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/ClearMap2/ClearMap/Compile.py", line 48, in <module>
    import ClearMap.ParallelProcessing.DataProcessing.statistics.StatisticsPointList as spl
  File "/ClearMap2/ClearMap/ParallelProcessing/DataProcessing/statistics/StatisticsPointList.py", line 29, in <module>
    import ClearMap.ParallelProcessing.DataProcessing.StatisticsPointListCode as code
ModuleNotFoundError: No module named 'ClearMap.ParallelProcessing.DataProcessing.StatisticsPointListCode'

This error was introduced by moving the StatisticsPointList into a folder, but didn't update the import path in the py file. This pull request adds that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant