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

Merged
merged 14 commits into from
Jan 21, 2025

Conversation

arschat
Copy link
Member

@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!

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
Member 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
Member 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!

@arschat arschat merged commit 1a18135 into staging Jan 21, 2025
2 of 5 checks passed
@arschat arschat deleted the ac-tissue-dissociation-Issue1592 branch January 21, 2025 17:04
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.

6 participants