FAIR-MI / miiid-schema

A metadata schema for the Minimum Information about Intermicrobial Interaction Data (MIIID) using LinkML
https://fair-mi.github.io/miiid-schema/
GNU General Public License v3.0
3 stars 0 forks source link

`make test` fails with ValueError: id must be supplied #3

Closed cpauvert closed 1 year ago

cpauvert commented 1 year ago

even if the id is supplied in the examples.

cpauvert commented 1 year ago

This is related to https://github.com/linkml/linkml-project-cookiecutter/issues/19 because the src/miiid_schema/datamodel/miiid_schema.py is not updated by make test

Or could also be because it seems the Python code does not use the directory of examples as I do: https://github.com/FAIR-MI/miiid-schema/blob/38cfcf6f94084942e11fd29fe02032b3db20ad57/tests/test_data.py#L10

cpauvert commented 1 year ago
  1. make gen-project
  2. make test OR make examples/output

The data examples are in the proper location as well 7d7a3af8362ee40b7108d2c59802289471a7d142