Skip to content

command line use of Neuron2-APP2 #44

@lahammond

Description

@lahammond

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions