Closed nrnhines closed 2 years ago
@alexsavulescu may have a better idea, but my guess would be that one could add
if norun:
self["run"] = None
after https://github.com/neuronsimulator/nrn-modeldb-ci/blob/f0fae7dcaca75db46024db45c301658a998f64ce/modeldb/modelrun.py#L49 🤔 -- I'm not sure if I understood the issue though
It is my understanding that --norun
is a global option, so we don't need to tamper with the modeldb-run.yaml
.
I will draft a PR for this.
I'm playing with the additional option for runmodels
and am at the point where it seemed simplest to force every model to effectively have the yaml property
run: null
. I tried:to merely
but I guess
_fetch_model()
is getting more than justrun
. I'm wondering if someone can short circuit my guesswork by suggesting how to effectively replace therun
after return from_fetch_model()
.