Closed joeflack4 closed 1 year ago
On the usability side of things, I think it would be nice to have a sample_model.yaml
that the user does not need to modify for the purposes of the quick start.
Should be fixed by merging the following PRs: https://github.com/linkml/template-configurator/pull/14 https://github.com/linkml/linkml-model-template/pull/14
Description
When setting up a linkml project using the template setup and making no alterations to the
sample_model.yaml
file, aFileNotFoundError
(types.yaml
) will appear.Error message
Steps to reproduce
More info
Logs
Other things I tried
I tried using another example from the linkml docs which has a
types
field:Dump of everything I tried from my note taking app "Workflowy":
Possible solutions
Old ideas
It looks like this is happening because the
sample_model.yaml
is not a "well formed" LinkML spec file, so to speak. It looks like it is missing some possibly required keys, namely "slots" and "types". Additionally, it has a lineimports: - types
. I'm not sure if this (a) is something that is related but not causing the error, (b) something that's directly helping cause the error, or (c) is something that is supposed to help prevent the error (e.g. it imports some basic types?) but is not working.linkml:types solution
Came up w/ the idea by seeing it used here: https://docs.google.com/presentation/d/1jtV2vQhCwsGv_9fPplkG8ww1ru4V_JYyRGLAm2dxvdE/edit#slide=id.gcf33f470c2_1_138