-
Notifications
You must be signed in to change notification settings - Fork 0
added morphology schema from the General Schema document #214
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
base: main
Are you sure you want to change the base?
Conversation
app/db/model.py
Outdated
@@ -599,7 +600,11 @@ class ReconstructionMorphology( | |||
|
|||
id: Mapped[uuid.UUID] = mapped_column(ForeignKey("entity.id"), primary_key=True) | |||
location: Mapped[PointLocation | None] | |||
|
|||
morphology_structure_type = mapped_column( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we maybe omit the "morphology" prefix for this column name as redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Structure type" would be less specific though, pehaps.
@@ -10,6 +10,14 @@ | |||
from app.utils.enum import StrEnum | |||
|
|||
|
|||
class MorphologyStructureType(str, Enum): | |||
digital_reconstruction = auto() | |||
modified = auto() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't "modified" too broad?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lidakanari is there a better term to use here?
No description provided.