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

Refactor panoptes to accept workflow ids from --wms-monitor-arg #171

Open
fgypas opened this issue Oct 31, 2023 · 0 comments
Open

Refactor panoptes to accept workflow ids from --wms-monitor-arg #171

fgypas opened this issue Oct 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fgypas
Copy link
Member

fgypas commented Oct 31, 2023

Is your feature request related to a problem? Please describe.
Panoptes is getting a request from snakemake via the create_workflow endpoint and generates a unique id. Then this id is sent back to snakemake and is used to send messages from snakemake to panoptes. This means that there is no way at the moment to pass an id that the user selects when they trigger snakemake (this would help with restarting the pipeline in the future).

Describe the solution you'd like
Snakemake can send an id to panoptes via the --wms-monitor-arg. Something like this:
--wms-monitor-arg workflow_id=12345-67890
Panoptes will check if the id is already in the database and if it is it will stop the run. If not it will continue.

@fgypas fgypas added the enhancement New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant