Skip to content

Skip the Nextflow resource label check for workflow components - #41

Merged
rcannood merged 1 commit into
mainfrom
fix/skip-label-check-for-nextflow-workflows
Jul 29, 2026
Merged

Skip the Nextflow resource label check for workflow components#41
rcannood merged 1 commit into
mainfrom
fix/skip-label-check-for-nextflow-workflows

Conversation

@rcannood

Copy link
Copy Markdown
Member

Describe your changes

check_config() requires every method, control method and metric to carry time, mem and cpu labels on its Nextflow runner. That check does not apply to a component whose script is itself a Nextflow workflow -- Viash renders those as a workflow rather than a process, so there is nothing for the labels to attach to.

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

* check_config: only check the nextflow runner directives when the
  component is not a nextflow_script component
* add tests for the nextflow runner checks
* update changelog
@rcannood
rcannood merged commit d762fb0 into main Jul 29, 2026
6 checks passed
@rcannood
rcannood deleted the fix/skip-label-check-for-nextflow-workflows branch July 29, 2026 12:02
rcannood added a commit to openproblems-bio/task_predict_modality that referenced this pull request Jul 29, 2026
* they are inert on a nextflow_script component, viash renders a
  workflow instead of a process
* remove them once openproblems-bio/core#41 is released
rcannood added a commit to openproblems-bio/task_predict_modality that referenced this pull request Jul 29, 2026
* run check_config on methods too

* Add check_config.py to comp_method.yaml's test resources
* Move documentation_url/repository_url to links in the four configs
  that still used the old placement
* Give novel and simple_mlp a nextflow resource label

Control methods and metrics were checked, methods were not, which is how
the deprecated info.documentation_url survived in four configs.

* mark the nextflow labels on novel and simple_mlp as placeholders

* they are inert on a nextflow_script component, viash renders a
  workflow instead of a process
* remove them once openproblems-bio/core#41 is released
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.

1 participant