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

Fixed Cao Protein and is passing db schema #15

Merged
merged 118 commits into from
Apr 26, 2023
Merged

Conversation

nh916
Copy link
Contributor

@nh916 nh916 commented Apr 26, 2023

Description

Cao Protein is passing all db schema validations

nh916 added 30 commits April 24, 2023 16:58
* changed node field to array instead of string
* added UID to inventory and project materials
* db schema has them as singular instead of plural
@nh916 nh916 requested a review from bearmit April 26, 2023 20:23
Copy link
Contributor

@bearmit bearmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My computer is going crazy with the rendering of such large JSON (please help!). My general comments are:

  • Define your materials in the project and reference them where you need (product, waste, ingredient, ...).
  • An ingredient might be accepted without a quantity. If a null quantity is accepted we should accept without that field believe. (double check that before if you want to change).
  • the name field is not required when referencing (ex: { node: ["Material"], uid: "_:<NAME>"} is sufficient)

cript_graph_json/JSON/cao_protein.json Outdated Show resolved Hide resolved
],
"name": "WPI Methacrylation",
"type": "multistep",
"prerequisite_process": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not referencing it?

Copy link
Contributor Author

@nh916 nh916 Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because I was not sure how to.

how would I reference it instead or what the rules are for that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would I reference it instead or what the rules are for that?

Yes, see my review comment above.

@nh916 nh916 requested a review from bearmit April 26, 2023 20:51
@nh916 nh916 merged commit 1afae8c into master Apr 26, 2023
@nh916 nh916 deleted the fix_protein_json_for_api branch April 26, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants