Skip to content

Commit

Permalink
one_of
Browse files Browse the repository at this point in the history
  • Loading branch information
saskiad committed Aug 20, 2024
1 parent a79d1cc commit ce5bce2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aind_data_schema/core/procedures.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,16 +559,16 @@ class WaterRestriction(AindModel):
class MyomatrixContact(AindModel):
""""Description of a contact on a myomatrix thread"""

body_part: MouseAnatomicalStructure.BODY_PARTS._ONE_OF = Field(..., title="Body part of contact insertion")
muscle: MouseAnatomicalStructure.EMG_MUSCLES._ONE_OF = Field(..., title="Muscle of contact insertion")
body_part: MouseAnatomicalStructure.BODY_PARTS.ONE_OF = Field(..., title="Body part of contact insertion")
muscle: MouseAnatomicalStructure.EMG_MUSCLES.ONE_OF = Field(..., title="Muscle of contact insertion")
in_muscle: bool = Field(..., title="In muscle")
notes: Optional[str] = Field(default=None, title="Notes")


class MyomatrixThread(AindModel):
"""Description of a thread of a myomatrix array"""

ground_electrode_location: MouseAnatomicalStructure.BODY_PARTS._ONE_OF = Field(
ground_electrode_location: MouseAnatomicalStructure.BODY_PARTS.ONE_OF = Field(
..., title="Location of ground electrode"
)
contacts: List[MyomatrixContact] = Field(..., title="Contacts")
Expand Down

0 comments on commit ce5bce2

Please sign in to comment.