Skip to content

Fix broken paths in the helper scripts - #22

Open
rcannood wants to merge 1 commit into
mainfrom
fix/broken-helper-script-paths
Open

Fix broken paths in the helper scripts#22
rcannood wants to merge 1 commit into
mainfrom
fix/broken-helper-script-paths

Conversation

@rcannood

Copy link
Copy Markdown
Member

Describe your changes

Three helper scripts can't run as written. None of them is exercised by CI, so the breakage went unnoticed -- but it blocks regenerating the test resources and running either workflow locally.

  • scripts/create_datasets/test_resources.sh invokes src/methods/simple_mlp/train/config.vsh.yaml and src/methods/novel/train/config.vsh.yaml; the components actually live in simple_mlp/simple_mlp_train/ and novel/novel_train/.
  • Both run_test.sh scripts point at target/nextflow/predict_modality/workflows/..., a leftover from the openproblems-v2 monorepo. Viash builds to target/nextflow/<namespace>/<name>, i.e. target/nextflow/workflows/... -- which scripts/create_datasets/resources.sh already gets right.
  • src/workflows/run_benchmark/run_test.sh separates rename_keys with commas, but viash declares multiple_sep: ";" for that argument (workflowHelper.nf#L1563), so the whole thing arrives as one string and trips the split(":") assertion on line 1610.

Also refreshed a stale comment in process_datasets/run_test.sh that told you to run bin/viash_build -q 'batch_integration'.

First of a series of PRs coming out of a pre-run review of the benchmark.

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!

* Point test_resources.sh at simple_mlp_train/ and novel_train/
* Drop the stale predict_modality/ prefix from the -main-script paths
* Separate rename_keys with ; rather than , -- viash's multiple_sep is ;
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