Skip to content

Commit

Permalink
Merge pull request #45 from NOAA-GSL/chore/idsse-502/valid-event-ports
Browse files Browse the repository at this point in the history
Updated regex to match scientific notation
  • Loading branch information
Geary-Layne authored Dec 28, 2023
2 parents e43391d + 3d1b030 commit c698aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/idsse_common/idsse/common/schema/risk_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"description": "Value found in data and the number of time found",
"type": "object",
"patternProperties": {
"^[-+]?[0-9]*[.]?[0-9]+$": {"type": "integer"},
"[^0-9.+-]": {"not": {}}
"[+-]?(?:0|[1-9]d*)(?:.d+)?(?:[eE][+-]?d+)?": {"type": "integer"},
"[^0-9.+-E]": {"not": {}}
},
"minProperties": 1
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def simple_event_port_message() -> dict:
],
"geoDist": [
{
"38.53400802612305": 1
"1.7941197416604382E-9": 1
}
]
}
Expand Down

0 comments on commit c698aff

Please sign in to comment.