Coder Social home page Coder Social logo

can't run clearmap about clearmap HOT 6 OPEN

AbsolemPillar avatar AbsolemPillar commented on July 1, 2024
can't run clearmap

from clearmap.

Comments (6)

vzickus avatar vzickus commented on July 1, 2024

If you go to ClearMap\ClearMap you should find Settings.py. Starting line 29 you should see where to set the path to elastix:

ElastixPath = '/usr/local/elastix';

Then just set it to where you have it built/installed on your machine. For example, mine is:
ElastixPath = '/home/asus/software/elastix-4.9.0-linux/';

from clearmap.

AbsolemPillar avatar AbsolemPillar commented on July 1, 2024

thank you, vzickus by following your instruction. I was able to run sudo python setup.py install. it ran the setup fine. the other part, where do I go to launch the clearmap software? I see a couple of new folders created after I ran setup.

build ClearMap ClearMap.egg-info dist

from clearmap.

vzickus avatar vzickus commented on July 1, 2024

I suggest you have a read of this, where they point you to the relevant files
https://github.com/ChristophKirst/ClearMap/blob/master/docs/tutorial.rst

from clearmap.

AbsolemPillar avatar AbsolemPillar commented on July 1, 2024

thank you, I have read the tutorials a few times. I kind of left everything as default just see how it works besides changing the path to this:
#load the parameters:
execfile('/home/moduk/ClearMap/build/lib.linux-x86_64-2.7/ClearMap/Scripts/parameter_file_template.py')

then I ran: python process_template.py
could help me see if this suppose to happen?

Elastix sucessfully initialized from path: /home/moduk/elastix490
Ilastik sucessfully initialized from path: /home/moduk/ilastik-1.3.0-Linux
Traceback (most recent call last):
File "process_template.py", line 7, in
execfile('/home/moduk/ClearMap/build/lib.linux-x86_64-2.7/ClearMap/Scripts/parameter_file_template.py')
File "/home/moduk/ClearMap/build/lib.linux-x86_64-2.7/ClearMap/Scripts/parameter_file_template.py", line 17, in
from ClearMap.Analysis.Label import countPointsInRegions
File "/usr/local/lib/python2.7/dist-packages/ClearMap-0.9.2-py2.7-linux-x86_64.egg/ClearMap/Analysis/Label.py", line 164, in
Label = LabelInfo();
File "/usr/local/lib/python2.7/dist-packages/ClearMap-0.9.2-py2.7-linux-x86_64.egg/ClearMap/Analysis/Label.py", line 86, in init
slf.initialize(annotationFile = annotationFile);
File "/usr/local/lib/python2.7/dist-packages/ClearMap-0.9.2-py2.7-linux-x86_64.egg/ClearMap/Analysis/Label.py", line 91, in initialize
with open(annotationFile) as dfile:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/ClearMap-0.9.2-py2.7-linux-x86_64.egg/ClearMap/Data/ARA2_annotation_info_collapse.csv'

from clearmap.

crazyhottommy avatar crazyhottommy commented on July 1, 2024

@AbsolemPillar I am trying Clearmap as well and got the same error. I then copied the Data folder from your git clone download

ls Data/
ARA2_annotation_info_collapse.csv  ARA2_annotation_statistics.csv       lightsheet_line_intensty_profiles_y.csv
ARA2_annotation_info.csv           lightsheet_flatfield_correction.csv  lightsheet_peak_intensity_profile_y.csv

cp -r Data /usr/local/lib/python2.7/dist-packages/ClearMap-0.9.2-py2.7-linux-x86_64.egg/ClearMap/

it should work.

from clearmap.

auesro avatar auesro commented on July 1, 2024

It does.
For some reason, when python installs the repository it does not copy the Data folder. You need to add it manually as per @crazyhottommy code.

from clearmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.