Skip to content

Commit f10b06b

Browse files
authored
Update quality_control.py (#1059)
* Update quality_control.py * tests: fixing tests * tests: one more missing test
1 parent 4e6ee98 commit f10b06b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/quality_control.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "Extracellular electrophysiology",
1010
"abbreviation": "ecephys"
1111
},
12-
"evaluation_stage": "Preprocessing",
12+
"evaluation_stage": "Processing",
1313
"evaluation_name": "Drift map",
1414
"evaluation_description": "Qualitative check that drift map shows minimal movement",
1515
"evaluator": "Fred Flintstone",

examples/quality_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
evaluation_name="Drift map",
1313
evaluation_description="Qualitative check that drift map shows minimal movement",
1414
evaluation_modality=Modality.ECEPHYS,
15-
evaluation_stage=Stage.PREPROCESSING,
15+
evaluation_stage=Stage.PROCESSING,
1616
evaluator="Fred Flintstone",
1717
evaluation_date=t,
1818
qc_metrics=[

quality_control.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "Extracellular electrophysiology",
1010
"abbreviation": "ecephys"
1111
},
12-
"evaluation_stage": "Preprocessing",
12+
"evaluation_stage": "Processing",
1313
"evaluation_name": "Drift map",
1414
"evaluation_desc": "Qualitative check that drift map shows minimal movement",
1515
"evaluator": "Fred Flintstone",

src/aind_data_schema/core/quality_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Stage(str, Enum):
2727
"""
2828

2929
RAW = "Raw data"
30-
PREPROCESSING = "Preprocessing"
30+
PROCESSING = "Processing"
3131
ANALYSIS = "Analysis"
3232

3333

tests/test_quality_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_constructors(self):
2323
evaluator="Bob",
2424
evaluation_date=date.fromisoformat("2020-10-10"),
2525
evaluation_modality=Modality.ECEPHYS,
26-
evaluation_stage=Stage.PREPROCESSING,
26+
evaluation_stage=Stage.PROCESSING,
2727
qc_metrics=[
2828
QCMetric(
2929
name="Multiple values example",

0 commit comments

Comments
 (0)