Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NEW) Fix range of slot compound on SolutionComponent #1666

Closed
Tracked by #1466
mslarae13 opened this issue Jan 12, 2024 · 12 comments
Closed
Tracked by #1466

(NEW) Fix range of slot compound on SolutionComponent #1666

mslarae13 opened this issue Jan 12, 2024 · 12 comments
Assignees

Comments

@mslarae13
Copy link
Contributor

mslarae13 commented Jan 12, 2024

Discovered while writing ADR

Refer to

@mslarae13 mslarae13 changed the title (NEW) Fix range of SolutionComponent (NEW) Fix range of slot compound on SolutionComponent Jan 12, 2024
@JamesTessmer
Copy link
Contributor

@JamesTessmer
Copy link
Contributor

Update: The enums are being enforced which I confirmed by adding an invalid data file and testing the valid ones with different values. The issue seems to be with the generated documentation saying the range is a string (which is technically true) but it doesn't show the enums being used to enforce the values.

@mslarae13
Copy link
Contributor Author

@sujaypatil96 can you help sort out why the generated documentation is wrong? https://microbiomedata.github.io/berkeley-schema-fy24/SolutionComponent/

@ssarrafan
Copy link
Collaborator

@sujaypatil96 can you help sort out why the generated documentation is wrong? https://microbiomedata.github.io/berkeley-schema-fy24/SolutionComponent/

Should this issue be re-assigned to @sujaypatil96? @mslarae13

@ssarrafan
Copy link
Collaborator

I'm going to remove this issue from the sprint and add the backlog label to it. If it should be active in the next sprint let me know. If it should be re-assigned to
@Sujay Patil
let me know.

@ssarrafan ssarrafan added the backlog Issue not assigned to a sprint or not completed during a sprint. Needs to be reprioritized. label Jan 26, 2024
@sujaypatil96
Copy link
Collaborator

@mslarae13 @JamesTessmer this appears to be a schema issue?

The definition for SolutionComponent has the slot compound asserted on it, but it’s range needs to be modified to ProteolyticEnzymeEnum in a slot_usage statement underneath slots.

@turbomam
Copy link
Member

I would like for us to review the overall modeling of solutions and reagents. The range slot_usages for compound sound relatively safe to me.

@turbomam
Copy link
Member

@anastasiyaprymolenna
Copy link
Contributor

The documentation generation will be resolved with the release of LinkML version 1.7.6, until then the issue will remain open

@mslarae13
Copy link
Contributor Author

@anastasiyaprymolenna does this have relevance for the re-working of ChemicalConversionProcess?

@turbomam
Copy link
Member

I'm working on a refactoring of everything solution related for Wednesday

@turbomam
Copy link
Member

turbomam commented Apr 2, 2024

compound has been replaced by substances_used

@turbomam turbomam closed this as completed Apr 2, 2024
@ssarrafan ssarrafan removed the backlog Issue not assigned to a sprint or not completed during a sprint. Needs to be reprioritized. label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

7 participants