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

As a user, I want the jobs command to accept parameters value with = in the string #86

Open
sk-sahu opened this issue Sep 21, 2022 · 0 comments
Labels
enhancement New feature or request jobs

Comments

@sk-sahu
Copy link

sk-sahu commented Sep 21, 2022

There are use cases where = needs to present in the string. For example - --parameter expression='GT="AA"'

cloudos job run \
    --cloudos-url $CLOUDOS \
    --apikey $MY_API_KEY \
    --workspace-id $WORKSPACE_ID \
    --project-name "$PROJECT_NAME" \
    --workflow-name $WORKFLOW_NAME \
    --parameter reads=s3://lifebit-featured-datasets/pipelines/rnatoy-data \
    --parameter genome=s3://lifebit-featured-datasets/pipelines/rnatoy-data/ggal_1_48850000_49020000.Ggal71.500bpflank.fa \
    --parameter annot=s3://lifebit-featured-datasets/pipelines/rnatoy-data/ggal_1_48850000_49020000.bed.gff \
    --parameter expression='GT="AA"' \
    --resumable \
    --spot

Currently, this not able to parse last parameter string and give an error -

raise ValueError('Please, specify -p / --parameter using a single \'=\' ' +
ValueError: Please, specify -p / --parameter using a single '=' as spacer. E.g: input=value
@sk-sahu sk-sahu added the enhancement New feature or request label Sep 21, 2022
@sk-sahu sk-sahu changed the title Accept parameters value with = in the string As a user, I want the jobs command to accept parameters value with = in the string Sep 21, 2022
@sk-sahu sk-sahu added the jobs label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jobs
Projects
None yet
Development

No branches or pull requests

1 participant