From 2c81317374ab7de6a00c09b83c0817de6b9e32e1 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 29 Jul 2026 14:42:14 +0200 Subject: [PATCH] give file_pretrained_model an example run_and_check_output only assigns a value to an argument when the file spec has a default or an example, so --output was silently left off the command line and novel_train/simple_mlp_train failed on a missing required argument. --- CHANGELOG.md | 6 ++++++ src/api/file_pretrained_model.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9a8396c..1e0468bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# task_predict_modality 0.2.0 + +## BUG FIXES + +* `file_pretrained_model`: Add the missing `example`. Without one, `run_and_check_output` never assigned a value to `--output`, so `viash test` invoked `novel_train` and `simple_mlp_train` without their required output argument and they could not pass (PR #52). + # task_predict_modality 0.1.1 ## NEW FUNCTIONALITY diff --git a/src/api/file_pretrained_model.yaml b/src/api/file_pretrained_model.yaml index fee6e975..694afdbb 100644 --- a/src/api/file_pretrained_model.yaml +++ b/src/api/file_pretrained_model.yaml @@ -1,3 +1,4 @@ type: file +example: "resources_test/task_predict_modality/openproblems_neurips2021/bmmc_cite/swap/models/novel" label: "Pretrained model" summary: "A pretrained model for predicting the expression of one modality from another."