Closed
Description
steps to reproduce:
- create a project using linkml-project-cookiecutter
- make a breaking change to the schema yaml file
- run
make test
(noting that the test still works even with the breaking yaml change)
some solutions might be:
- do something complicated in the test_data.py so that we import from the regenerated /tmp directory?
- overwrite the python in src/linkml_tutorial_schema/datamodel directory with the refreshed classes that were generated into /tmp?
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
make test
fails with ValueError: id must be supplied FAIR-MI/miiid-schema#3cpauvert commentedon Jun 20, 2023
Hi @sierra-moxon
How was this issue resolved and what is the recommend approach? Because I also ran into the same problem.
UPDATE: Running
make gen-project
before runningmake test
seems to update the datamodelBest,