diff --git a/interactive/api/static/examples/FLOW_TUBE/camp_data/species.json b/interactive/api/static/examples/FLOW_TUBE/camp_data/species.json index 03e9c023..a35525ad 100644 --- a/interactive/api/static/examples/FLOW_TUBE/camp_data/species.json +++ b/interactive/api/static/examples/FLOW_TUBE/camp_data/species.json @@ -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." }, { diff --git a/interactive/api/static/examples/FULL_GAS_PHASE/camp_data/species.json b/interactive/api/static/examples/FULL_GAS_PHASE/camp_data/species.json index ab763690..e9ae0952 100644 --- a/interactive/api/static/examples/FULL_GAS_PHASE/camp_data/species.json +++ b/interactive/api/static/examples/FULL_GAS_PHASE/camp_data/species.json @@ -163,7 +163,7 @@ { "name": "M", "type": "CHEM_SPEC", - "__description": "third body" + "tracer type": "THIRD_BODY" }, { "name": "MEO2", diff --git a/interactive/api/static/examples/TS1/camp_data/species.json b/interactive/api/static/examples/TS1/camp_data/species.json index 6d7e014f..98dd44b4 100644 --- a/interactive/api/static/examples/TS1/camp_data/species.json +++ b/interactive/api/static/examples/TS1/camp_data/species.json @@ -1274,7 +1274,7 @@ { "name": "M", "type": "CHEM_SPEC", - "__description": "third-body species" + "tracer type": "THIRD_BODY" } ] diff --git a/interactive/rabbit_mq_model_runner.py b/interactive/rabbit_mq_model_runner.py index afc3ce5a..65ebfcc0 100644 --- a/interactive/rabbit_mq_model_runner.py +++ b/interactive/rabbit_mq_model_runner.py @@ -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: @@ -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)