Skip to content

Save preview params#191

Merged
EribertoLopez merged 12 commits intomasterfrom
save_preview_params
Aug 11, 2021
Merged

Save preview params#191
EribertoLopez merged 12 commits intomasterfrom
save_preview_params

Conversation

@EribertoLopez
Copy link
Copy Markdown
Contributor

@EribertoLopez EribertoLopez commented Jan 23, 2021

Updated the launch command with -sp, --save_preview option. If used the launch request will be generated like usual, but the inputs selected will be merged into the local manifest and into the protocol that was selected. This allows the user to use real and up to date container information and state without manually editing your manifest.json.

transcriptic launch -p p1fjfghp4azvd2 --local -sp flowcytometry 
Usage: transcriptic launch [OPTIONS] PROTOCOL PARAMETERS_FILE

  Configure and launch a protocol either using the local manifest file or
  remotely. If no parameters are specified, uses the webapp to select the
  inputs.

Options:
  -p, --project PROJECT_ID  Project id or name context for configuring the
                            protocol. Use `transcriptic projects` command to
                            list existing projects.

  -t, --title RUN_TITLE     If specified, will apply custom title to run
                            created, default run titlewill be the DISPLAY-
                            NAME_MM_DD_YYYY of the protocol selected.

  --save_input FILE         Save the protocol or parameters input JSON in a
                            file. This is useful for debugging a protocol.

  --local                   If specified, the protocol will launch a local
                            protocol and submit a run.

  --accept_quote            If specified, the quote will automatically be
                            accepted, and a run will be directly submitted.

  --pm PAYMENT_METHOD_ID    Payment id to be used for run submission. Use
                            `transcriptic payments` command to list existing
                            payment methods.

  --test                    Submit this run in test mode
  --pkg PACKAGE_ID          Package ID for discriminating between protocols
                            with identical names

  -sp, --save_preview       Save the protocol preview parameters and refs   <== New flag
                            selected as input and merge into local
                            manifest.json. This is useful for debugging a
                            protocol.

  -h, --help                Show this message and exit.

@aaronkarlsberg1 aaronkarlsberg1 force-pushed the save_preview_params branch 3 times, most recently from e24b6df to b25250f Compare June 2, 2021 03:49
@EribertoLopez EribertoLopez force-pushed the save_preview_params branch 2 times, most recently from 51f7192 to 87d01d7 Compare June 2, 2021 05:59
@EribertoLopez EribertoLopez force-pushed the save_preview_params branch from 518875a to 0799437 Compare June 2, 2021 06:27
@joshhacksthings joshhacksthings self-requested a review August 5, 2021 19:15
@EribertoLopez EribertoLopez requested a review from a team August 10, 2021 02:56
@EribertoLopez EribertoLopez marked this pull request as ready for review August 10, 2021 02:56
@EribertoLopez EribertoLopez merged commit c8c0899 into master Aug 11, 2021
@EribertoLopez EribertoLopez deleted the save_preview_params branch August 11, 2021 16:36
EribertoLopez added a commit that referenced this pull request Nov 9, 2021
Updated the launch command with -sp, --save_preview option. If used the launch request will be generated like usual, but the inputs selected will be merged into the local manifest and into the protocol that was selected. This allows the user to use real and up to date container information and state without manually editing your manifest.json.
```
transcriptic launch -p p1fjfghp4azvd2 --local -sp flowcytometry 
```

```
Usage: transcriptic launch [OPTIONS] PROTOCOL PARAMETERS_FILE

  Configure and launch a protocol either using the local manifest file or
  remotely. If no parameters are specified, uses the webapp to select the
  inputs.

Options:
  -p, --project PROJECT_ID  Project id or name context for configuring the
                            protocol. Use `transcriptic projects` command to
                            list existing projects.

  -t, --title RUN_TITLE     If specified, will apply custom title to run
                            created, default run titlewill be the DISPLAY-
                            NAME_MM_DD_YYYY of the protocol selected.

  --save_input FILE         Save the protocol or parameters input JSON in a
                            file. This is useful for debugging a protocol.

  --local                   If specified, the protocol will launch a local
                            protocol and submit a run.

  --accept_quote            If specified, the quote will automatically be
                            accepted, and a run will be directly submitted.

  --pm PAYMENT_METHOD_ID    Payment id to be used for run submission. Use
                            `transcriptic payments` command to list existing
                            payment methods.

  --test                    Submit this run in test mode
  --pkg PACKAGE_ID          Package ID for discriminating between protocols
                            with identical names

  -sp, --save_preview       Save the protocol preview parameters and refs   <== New flag
                            selected as input and merge into local
                            manifest.json. This is useful for debugging a
                            protocol.

  -h, --help                Show this message and exit.
```
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

Successfully merging this pull request may close these issues.

2 participants