Skip to content

Conversation

dkeller9
Copy link
Contributor

@dkeller9 dkeller9 commented Jun 5, 2025

No description provided.

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(
Copy link
Contributor

@eleftherioszisis eleftherioszisis Jun 6, 2025

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?

Copy link
Contributor Author

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()
Copy link
Contributor

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?

Copy link
Contributor Author

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?

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