From b5f745743a14fa929d9eba79138327b4a097bb9b Mon Sep 17 00:00:00 2001 From: Noemi Frisina Date: Fri, 12 Jul 2024 14:33:42 +0100 Subject: [PATCH] COpy file change --- .../serial/extruder/i24ssx_Extruder_Collect_py3v2.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mx_bluesky/I24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py b/src/mx_bluesky/I24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py index 8ca3febaa..0c3d4ff7b 100755 --- a/src/mx_bluesky/I24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py +++ b/src/mx_bluesky/I24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py @@ -441,11 +441,6 @@ def tidy_up_at_collection_end_plan( dcid.notify_end() logger.info("End Time = %s" % end_time.ctime()) - # Copy parameter file - # TODO Need 118 to tidy this one up, for now: - filepath = Path(parameters.visit) / parameters.directory - shutil.copy2(PARAM_FILE_PATH / PARAM_FILE_NAME, filepath / PARAM_FILE_NAME) - @log.log_on_entry def run_extruder_plan( @@ -494,4 +489,8 @@ def run_extruder_plan( ), # TODO complete and fix auto_raise=False, ) - pass + + # Copy parameter file + # TODO Need 118 to tidy this one up, for now: + filepath = Path(parameters.visit) / parameters.directory + shutil.copy2(PARAM_FILE_PATH / PARAM_FILE_NAME, filepath / PARAM_FILE_NAME)