You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a (supported or recommended) way to run a different version of a workflow than the current version that's set on AnVIL? As an example, I have a workflow with versions "combined_checks" and "main". The version that's currently saved in AnVIL is "combined_checks", but I would like to run the "main" version.
I found one of two ways to potentially set the version:
Modify the config object returned by avworkspace_configuration_get() to replace the methodUri and methodVersion elements, eg:
From the AnVIL page for the workflow in my web browser, manually select the "main" branch and save the workflow, then run avworkspace_configuration_get().
While option 2 is a workaround, it would be nice to do everything from the command line/within R.
Is there a better way to specify the version of the workflow that I would like to run, eg something like avworkflow_configuration_get("primed_cc/validate_phenotype_model", version="main")?
If not, is this something the Bioconductor::AnVIL R package could support in the future?
For some more detailed background, this is part of what was causing the underlying error in my #80 issue.
The workflow I am trying to run is hosted on Dockstore (primed-cc/validate_phenotype_model), with underlying code hosted on GitHub (UW-GAC/primed-file-checks). When the workflow was imported into the workspace, it was set to use the "combined_checks" branch. This branch has since
been merged into main and deleted, so avworkspace_configuration_inputs() was trying to get the inputs from a branch of the code that no longer exists.
Doing either of the two fixes above let me get the inputs with avworkspace_configuration_inputs().
The text was updated successfully, but these errors were encountered:
Also if it's helpful, here's the error I got after the #80 fix (when trying to pull config inputs for a branch that longer existed):
> inputs <- avworkflow_configuration_inputs(config)
Error: 'avworkflow_response' failed:
Not Found (HTTP 404).
Cannot get dockstore://github.com%2FUW-GAC%2Fprimed-file-checks%2Fvalidate_phenotype_model/combined_checks from method repo.
Is there a (supported or recommended) way to run a different version of a workflow than the current version that's set on AnVIL? As an example, I have a workflow with versions "combined_checks" and "main". The version that's currently saved in AnVIL is "combined_checks", but I would like to run the "main" version.
I found one of two ways to potentially set the version:
avworkspace_configuration_get()
to replace themethodUri
andmethodVersion
elements, eg:avworkspace_configuration_get()
.While option 2 is a workaround, it would be nice to do everything from the command line/within R.
avworkflow_configuration_get("primed_cc/validate_phenotype_model", version="main")
?Bioconductor::AnVIL
R package could support in the future?For some more detailed background, this is part of what was causing the underlying error in my #80 issue.
The workflow I am trying to run is hosted on Dockstore (primed-cc/validate_phenotype_model), with underlying code hosted on GitHub (UW-GAC/primed-file-checks). When the workflow was imported into the workspace, it was set to use the "combined_checks" branch. This branch has since
been merged into main and deleted, so
avworkspace_configuration_inputs()
was trying to get the inputs from a branch of the code that no longer exists.Doing either of the two fixes above let me get the inputs with
avworkspace_configuration_inputs()
.The text was updated successfully, but these errors were encountered: