Skip to content

Commit

Permalink
Correcting build (#434)
Browse files Browse the repository at this point in the history
* removing het rates

* it ran

* version bump

* undo version bump

* trying to move docker stuff around to fix deployment

* checking if it's a volume issue

* using different directory for certs

* setting third body
  • Loading branch information
K20shores committed Aug 28, 2024
1 parent a4e7867 commit 364cffd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "M",
"type": "CHEM_SPEC",
"tracer type": "CONSTANT",
"tracer type": "THIRD_BODY",
"__description": "Third-body molecule. This is any molecule present in the system."
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
{
"name": "M",
"type": "CHEM_SPEC",
"__description": "third body"
"tracer type": "THIRD_BODY"
},
{
"name": "MEO2",
Expand Down
2 changes: 1 addition & 1 deletion interactive/api/static/examples/TS1/camp_data/species.json
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@
{
"name": "M",
"type": "CHEM_SPEC",
"__description": "third-body species"
"tracer type": "THIRD_BODY"
}

]
Expand Down
9 changes: 1 addition & 8 deletions interactive/rabbit_mq_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ def music_box_exited_callback(session_id, output_directory, future):
body = {'session_id': session_id}

if future.exception() is not None:
exception_message = ''.join(
traceback.format_exception(
None,
future.exception(),
future.exception().__traceback__))
exception_message = ''.join(traceback.format_exception(None, future.exception(), future.exception().__traceback__))
logging.error(f"[{session_id}] MusicBox finished with exception: {exception_message}")
route_key = RunStatus.ERROR.value
else:
Expand Down Expand Up @@ -136,9 +132,6 @@ def run_music_box(session_id):
path = get_session_path(session_id)
config_file_path = os.path.join(path, 'my_config.json')

body = {"session_id": session_id}
publish_message(route_key=RunStatus.RUNNING.value, message=body)

music_box = MusicBox()
music_box.readConditionsFromJson(config_file_path)

Expand Down

0 comments on commit 364cffd

Please sign in to comment.