We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bfe8f7 commit dccf1bdCopy full SHA for dccf1bd
src/aind_data_schema/core/mri_session.py
@@ -81,7 +81,7 @@ def validate_other(cls, value: Optional[str], info: ValidationInfo) -> Optional[
81
@model_validator(mode="after")
82
def validate_primary_scan(self):
83
"""Validate that primary scan has vc_orientation and vc_position fields"""
84
-
+
85
if self.primary_scan:
86
if not self.vc_orientation or not self.vc_position:
87
raise ValueError("Primary scan must have vc_orientation and vc_position")
0 commit comments