Skip to content

Commit ff73cb4

Browse files
authored
hotfix: reduce set of acquisition types (#275)
* hotfix: reduce set of acquisition types * tests: fix test * refactor: remove "scan"
1 parent 8bf1da4 commit ff73cb4

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
name
2-
full-field raster scan
3-
multi-roi raster scan
4-
band scan
5-
integration scan
2+
integration
3+
raster

src/aind_data_schema_models/slap2_acquisition_type.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
class Slap2AcquisitionType(str, Enum):
77
"""Stimulus modalities"""
88

9-
BAND_SCAN = "band scan"
10-
FULL_FIELD_RASTER_SCAN = "full-field raster scan"
11-
INTEGRATION_SCAN = "integration scan"
12-
MULTI_ROI_RASTER_SCAN = "multi-roi raster scan"
9+
INTEGRATION = "integration"
10+
RASTER = "raster"

tests/test_slap2_acquisition_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TestSlap2AcquisitionType(unittest.TestCase):
1111
def test_class_construction(self):
1212
"""Tests enum can be instantiated via string"""
1313

14-
self.assertEqual(Slap2AcquisitionType.BAND_SCAN, Slap2AcquisitionType("band scan"))
14+
self.assertEqual(Slap2AcquisitionType.INTEGRATION, Slap2AcquisitionType("integration"))
1515

1616

1717
if __name__ == "__main__":

0 commit comments

Comments
 (0)