Skip to content

feat: CellLine - #95

Closed
dbirman wants to merge 21 commits into
release-v4.0.0from
feat-4-celline-again
Closed

dbirman wants to merge 21 commits into
release-v4.0.0from
feat-4-celline-again

Conversation

@dbirman

@dbirman dbirman commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds CellLine. In addition it updates biodata-models to the latest v2 version. Because of the breaking changes (removal of ProcessName and *Lookup class renames) there are a lot of other changes that came in. Please take a look carefully to make sure no unexpected changes occurred!

@dbirman
dbirman requested a review from saskiad October 1, 2026 21:59
Comment thread src/biodata_schema/components/subjects.py
Comment thread docs/source/components/configs.md Outdated
Comment thread tests/test_procedures.py Outdated
Comment thread tests/test_procedures.py Outdated
Comment thread tests/test_procedures.py Outdated

@saskiad saskiad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think there's problem in the test code.

@dbirman
dbirman requested a review from saskiad October 2, 2026 22:30
| `ethics_review_id` | `str` | Ethics review ID |
| `protocol_id` | `Optional[str]` | Protocol ID (DOI for protocols.io) |
| `injections` | List[[Injection](injection_procedures.md#injection)] | Injections |
| `injections` | List[[Injection](injection_procedures.md#injection)] | Injections (Use MouseInjectionTargets for common mouse injection sites such as intraperitoneal injection.) |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

minor: I don't think this is where we want to point people to MouseInjectionTargets

injections: List[Injection] = Field(
...,
title="Injections",
description="Use MouseInjectionTargets for common mouse injection sites such as intraperitoneal injection.",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

minor: same as above. This note should really just be for targeted structures and not for the list of Injections itself.

Comment thread tests/test_procedures.py Outdated
)
],
targeted_structure=InjectionTargets.RETRO_ORBITAL,
targeted_structure=mouse_anatomy("Retro-orbital"),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

but wait, isn't this what we wanted to fix?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm guessing it doesn't matter for this test though, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed this yes, there's still mouse_anatomy now but it's a mock class

@dbirman dbirman closed this Oct 6, 2026
@dbirman
dbirman deleted the feat-4-celline-again branch October 6, 2026 03:17
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