Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion biosim_schema/schema/components/biosim_composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,11 @@ slots:
molecular_formula:
description:
The molecular formula of a molecule\
pattern: "^([A-Z][a-z]?\\d*)+([+-]|\\d+[+-])?$"
pattern: "^([A-Z][a-z]?\\d*)+([+-]\\d*|\\d+[+-])?$"
examples:
- value: "C8H10N4O2"
- value: "C10H16N+"
- value: "C40H46N20O18P3-3"
range: string
annotations:
engine_mapping:
Expand Down
2 changes: 1 addition & 1 deletion project/linkml/jsonschema/biosim_schema.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@
},
"molecular_formula": {
"description": "The molecular formula of a molecule\\",
"pattern": "^([A-Z][a-z]?\\d*)+([+-]|\\d+[+-])?$",
"pattern": "^([A-Z][a-z]?\\d*)+([+-]\\d*|\\d+[+-])?$",
"type": [
"string",
"null"
Expand Down
Loading