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

show required configuration parameters an app query #10

Closed
soichih opened this issue Jun 2, 2018 · 3 comments
Closed

show required configuration parameters an app query #10

soichih opened this issue Jun 2, 2018 · 3 comments

Comments

@soichih
Copy link
Collaborator

soichih commented Jun 2, 2018

Brad suggests we could display required config parameters when a user query for an App. I think we could display a "usage" for each App that user can use as a template for the real config object to pass for --config.

@stevengeeky
Copy link
Contributor

stevengeeky commented Jun 6, 2018

PR #15 displays an app's config in the following format after bl app query:

Id: 5ab145a5029f78002be2c45a
Name: mrtrix3 act
Service: brain-life/app-mrtrix3-act
Type: (dwi: neuro/dwi, anat: neuro/anat/t1w) -> (tracking: neuro/track, tensor: neuro/tensor)
Description: perform Anatomically Constrained Tractography (ACT) on single or multi-shell data.
Config:
    imaxs: (type: string) (default: 2)
    curvs: (type: string) (default: 5 10 20 40 80)
    num_fibers: (type: string) (default: 25000)
    min_length: (type: string) (default: 10)
    max_length: (type: string) (default: 200)
    tensor_fit: (type: string) (default: ' ')
    ens_lmax: (type: boolean)
    norm: (type: boolean)
    do_prb2: (type: boolean)
    do_prb1: (type: boolean)
    do_detr: (type: boolean)
    do_dtdt: (type: boolean)
    do_dtpb: (type: boolean)

@soichih
Copy link
Collaborator Author

soichih commented Jun 8, 2018

@bacaron Does this look ok?

@bacaron
Copy link

bacaron commented Jun 8, 2018 via email

@soichih soichih closed this as completed Jun 8, 2018
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

3 participants