Skip to content

Commit

Permalink
Bump schema version
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Aug 22, 2023
1 parent 39eae5d commit d01b9f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mira/modeling/askenet/petrinet.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

logger = logging.getLogger(__name__)

SCHEMA_VERSION = '0.5'
SCHEMA_VERSION = '0.6'
SCHEMA_URL = ('https://raw.githubusercontent.com/DARPA-ASKEM/'
'Model-Representations/petrinet_v%s/petrinet/'
'petrinet_schema.json') % SCHEMA_VERSION
Expand Down
2 changes: 1 addition & 1 deletion mira/modeling/askenet/regnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

logger = logging.getLogger(__name__)

SCHEMA_VERSION = '0.1'
SCHEMA_VERSION = '0.2'
SCHEMA_URL = ('https://raw.githubusercontent.com/DARPA-ASKEM/'
'Model-Representations/regnet_v%s/regnet/'
'regnet_schema.json') % SCHEMA_VERSION
Expand Down
2 changes: 1 addition & 1 deletion tests/test_modeling/test_askenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_export():
json_data = json.load(f)

# Test the schema
schema_url = json_data['schema']
schema_url = json_data['header']['schema']
print(f"Schema URL: {schema_url}")
remote_schema = requests.get(schema_url).json()
try:
Expand Down

0 comments on commit d01b9f3

Please sign in to comment.