As it stands, create.phenotype.report requires a shared models file be specified, and that shared models file must minimally have something like the following:
models:
placeholder:
type: string
In short, there must be a models block with objects under it; there must be at least one object in it with an arbitrary name (placeholder), and that object must minimally have a type defined from the set of permitted values. If no shared models file is specified, the library quits during initial parameter check; if the shared models file has insufficient content, the library quits during yaml load.
This is unnecessarily stringent. A null shared models should be permitted. A shared models file with absolutely nothing in it should be permitted. In both cases, a placeholder shared_models list can be created on the fly with empty content. This (probably) shouldn't break any internal logic.
As it stands, create.phenotype.report requires a shared models file be specified, and that shared models file must minimally have something like the following:
In short, there must be a
modelsblock with objects under it; there must be at least one object in it with an arbitrary name (placeholder), and that object must minimally have atypedefined from the set of permitted values. If no shared models file is specified, the library quits during initial parameter check; if the shared models file has insufficient content, the library quits during yaml load.This is unnecessarily stringent. A null shared models should be permitted. A shared models file with absolutely nothing in it should be permitted. In both cases, a placeholder shared_models list can be created on the fly with empty content. This (probably) shouldn't break any internal logic.