I would greatly appreaciated your thoughts on getting CMTK to function.
I have set up CMTK on windows. I must have had success as, following the set up, I was able to upload tracings to my local NBLAST in R, whereas - prior to setting up CMTK- I received "xform error".
In fiji, when I run the, "install CMTK" (cygwin) I receive a long error (see bottom of message).
Dragging and dropping the munger.sh file in the "command" folder generated by fiji returns the following:
I can confirm that: there is a "munger" file under C:\Users\gyero\Documents\Fiji.app\bin\cmtk. - although it has no file extension.
Alterantively, is there a means of converting an nrrd a filled neuron trace into an swc which could in turn easily be registered to a new template in R? I have traced a neuron, and used the "fill" function so that the tracing has an accurate axonal diameter. I then save this "filled" tracing as an nrrd, tiff etc. If there was someway to convert thes to swc and preserve the "fill" data it would a convenient way to transform an individual neuron of interest between formats for colourdepth imaging etc.
George.
C:\Users\gyero\DOCUME~1\Fiji.app\bin\cmtk
Download size should be 76871769
Downloaded file has size 76871769
Cleaning up!
[ERROR] Traceback (most recent call last):
File "CMTK_Registration/Install_CMTK.py", line 81, in <module>
File "__pyclasspath__/cmtkgui$py.class", line 370, in download_and_untar_url
File "C:\Users\gyero\DOCUME~1\Fiji.app\jars\jython-slim-2.7.2.jar\Lib\tempfile$py.class", line 425, in close
OSError: unlink(): an unknown error occurred: C:\Users\gyero\AppData\Local\Temp\tmpm7d_9gCMTK-3.3.1-CYGWIN-x86_64.tar.gz
at org.python.core.Py.OSError(Py.java:109)
at org.python.modules.posix.PosixModule.unlink(PosixModule.java:1129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:208)
at org.python.core.PyObject.__call__(PyObject.java:477)
at org.python.core.PyObject.__call__(PyObject.java:481)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at tempfile$py.close$23(D:/hg/work/build2/resources/main/Lib/tempfile.py:425)
at tempfile$py.call_function(D:/hg/work/build2/resources/main/Lib/tempfile.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:134)
at org.python.core.PyFunction.__call__(PyFunction.java:416)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at cmtkgui$py.download_and_untar_url$26(C:/Users/gyero/DOCUME~1/Fiji.app/plugins/CMTK_Registration/cmtkgui.py:370)
at cmtkgui$py.call_function(C:/Users/gyero/DOCUME~1/Fiji.app/plugins/CMTK_Registration/cmtkgui.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:176)
at org.python.core.PyFunction.__call__(PyFunction.java:449)
at org.python.pycode._pyx0.f$0(CMTK_Registration/Install_CMTK.py:81)
at org.python.pycode._pyx0.call_function(CMTK_Registration/Install_CMTK.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.__builtin__.eval(__builtin__.java:497)
at org.python.core.__builtin__.eval(__builtin__.java:501)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:255)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:57)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at org.scijava.script.ScriptModule.run(ScriptModule.java:157)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:124)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:63)
at org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:225)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.FileSystemException: C:\Users\gyero\AppData\Local\Temp\tmpm7d_9gCMTK-3.3.1-CYGWIN-x86_64.tar.gz: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at org.python.modules.posix.PosixModule.unlink(PosixModule.java:1119)
... 41 more