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

Added enzymatic tissue dissociation fields #1599

Open
wants to merge 12 commits into
base: staging
Choose a base branch
from

Conversation

arschat
Copy link
Collaborator

@arschat arschat commented Dec 20, 2024

#1592

Release notes

For dissociation_protocol.json schema:

  • rename reagents friendly name to distinguish with digestion_solution
  • add digestion_time
  • add digestion_time_units
  • add digestion_temperature
  • add digestion_solution

Reviews requested

  • Need 5 Reviewers to approve because this is a minor update

Copy link
Collaborator

@ESapenaVentura ESapenaVentura left a comment

Choose a reason for hiding this comment

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

Minor comments and a change to the regex, otherwise LGTM!

json_schema/update_log.csv Outdated Show resolved Hide resolved
Copy link
Collaborator

@ESapenaVentura ESapenaVentura left a comment

Choose a reason for hiding this comment

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

LGTM 👍

},
"digestion_temperature": {
"description": "Temperature of digestion in Celsius or in general terms (i.e. cold, warm, room temperature).",
"pattern": "^(\\d+(\\.\\d+)?|frozen|cold|room temperature|warm)$",
Copy link
Contributor

Choose a reason for hiding this comment

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

The number pattern matches non-sensical strings such as 00000000021.210000000000. Consider a union (anyOf) of number and enum.

Then again, instead of allowing the subjective English terms, you could just allow for a range. That might be more elegant and easier to process for consumers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for your comment, I agree on using range instead of words however, the Lung bionetwork insisted on using words to record this, as they used in the published version 1 of their atlas.

I've added the solution with the union of types in 0944f6e .

"Protease",
"TrypLE",
"Trypsin"
]
Copy link
Contributor

Choose a reason for hiding this comment

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

This bracket seems misaligned.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for pointing that out, fixed in 0944f6e

},
"digestion_temperature": {
"description": "Temperature of digestion in Celsius or in general terms (i.e. cold, warm, room temperature).",
"anyOf": [
Copy link
Contributor

Choose a reason for hiding this comment

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

I was confused but

Suggested change
"anyOf": [
"oneOf": [

is semantically equivalent (given that the alternatives are disjunctive) and adds clarity.

Copy link
Collaborator

@ESapenaVentura ESapenaVentura left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

5 participants