janelia-flyem / NeuTu

Software package for neuron reconstruction and visualization
Other
38 stars 13 forks source link

neutu --command mode should default its configfiles if absent #358

Closed pgunn closed 4 years ago

pgunn commented 4 years ago

If you install neutu through conda, neutu doesn't have what it needs to use the commandline tools and errors out if you try to use the --command mode.

I have a copy of the sources handy (useful to figure out undocumented things), and it looks like copying ~/src/neutu/neurolabi/json/{trace_config,skeletonize,command_config}.json into ~/neutu_config/json is enough to use the interface.

It'd be great if the conda package of neutu would create default versions of these files when absent if the user tries to use that interface (whether ~/neutu_config/json is the right place to store them is another question)

tingzhao commented 4 years ago

This was caused by path searching in neutu. The problem should be solved in version 0.3.6. Please have a try.

tingzhao commented 4 years ago

I'll close the issue for now. You can reopen it if there is still a problem.