We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 605de21 commit 0097c9eCopy full SHA for 0097c9e
tests/validate_data.py
@@ -17,7 +17,7 @@
17
class SimselectSchema(Schema):
18
def validate(self, data, _is_simselect_schema=True):
19
data = super().validate(data, _is_simselect_schema=False)
20
- if _is_simselect_schema and not "simulator" in data["features"]:
+ if _is_simselect_schema and "simulator" not in data["features"]:
21
if "biological_level" in data:
22
raise SchemaError("biological_level is only valid for simulators")
23
return data
0 commit comments