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

command line use of Neuron2-APP2 #44

Open
lahammond opened this issue Nov 27, 2023 · 3 comments
Open

command line use of Neuron2-APP2 #44

lahammond opened this issue Nov 27, 2023 · 3 comments

Comments

@lahammond
Copy link

Hello,

I'm having trouble passing parameters to the APP2 plugin via the command line.

If I don't pass any parameters by not using the -p or /p then APP2 uses reasonable default parameters For example running: Vaa3D-x.exe /x vn2 /f app2 /i "C:\Users\Desktop\Peng V3D test data\neuron01.tif" /o "C:\Users\Desktop\Peng V3D test data\test.swc"
Results in:
##Vaa3D-Neuron-APP2 v2.621
#channel = 0
#bkg_thresh = 10
#length_thresh = 5
#SR_ratio = 0.333333 .... etc and a reasonable swc trace

However, when I add the /p command, APP2 switches to using different parameters, but not those specified in the /p string
Running: Vaa3D-x.exe /x vn2 /f app2 /i "C:\Users\Luke_H\Desktop\Peng V3D test data\neuron01.tif" /o "C:\Users\Luke_H\Desktop\Peng V3D test data\test.swc" /p [NULL [1 [10 [1 [1 [0 [1 [5 [1][0][0]]]]]]]]]
Results in:
##Vaa3D-Neuron-APP2 v2.621
#channel = 0
#bkg_thresh = -1
#length_thresh = 0
#SR_ratio = 0.333333
#is_gsdt = 0
#is_gap = 0
#cnn_type = 2 etc and a hyperbranched swc

This command is based on the information provided by Vaa3D-x.exe /x vn2 /f help
Is there a different way to pass the parameters? Or has something changed in APP2 since the last help information from this plugin was created?

I think this is a fantastic tool and hope there is an easy solution to this.

Many thanks!

Luke

@ZhijiangWan
Copy link
Contributor

ZhijiangWan commented Nov 27, 2023 via email

@lahammond
Copy link
Author

Hi John,
I hope all is well. Were you able to find the issue? Let me know if there is any further information I can help with.
Best,
Luke

@ZhijiangWan
Copy link
Contributor

ZhijiangWan commented Jan 18, 2024 via email

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

No branches or pull requests

2 participants