Closed turbomam closed 1 year ago
make -f mam.makefile gen_and_pop
oops has hardcoded path to the NMDC schema
there are a lot of todo
comments in schemasheets/template_wizard.py
can you remove all unnecessary files from the commit?
Thanks for looking at this again.
Shoot, I thought this was one of my tidier PRs. Can you give an example of what I should remove?
I wasn't planning on using this for the schemasheets part of the workshop, if that makes any difference in the priority.
Some feedback:
$(SCHEMA)
and all references to ndmc with $(PREFIX)
which worked well.biosample
with my target class.project_source
in list_element_slots.py needs configuring and the use of "work" needs replacing with "target" (for this Makefile)'attributes', 'class_uri', 'description', 'class', 'from_schema', 'mixins'
)dict
rather than a list
in my case. This is a weird one.ValueError: Enter an interpretation for attributes
but since I primarily wanted to get to a TSV (or actually, a google sheet) this was more than enough. Thanks again.@joshmoore @turbomam - do you think we can close this PR and the associated ticket? Or instead, should we get it to a point where we can merge it into the repository? :)
I discussed briefly with @cmungall in February and I think there was another path forward that was preferred. But in general, big :+1: from my sides to having some form of command or recipe to create the necessary pieces here.
I have switched from using this custom code of mine to just hand-creating linkml2sheets templates.
I could provide some notes on how to set up the templates with a minimal amount of effort.
I am inclined to close this PR.
Will revert to draft after discussing with CJM 2022-07-15
No related issue?
This branch also contains some makefile rules illustrating round tripping from schema to sheets and back