Skip to content

Commit

Permalink
Fix write params file
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jul 23, 2024
1 parent f177bb1 commit 49f0928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def write_parameter_file(detector_stage: DetectorMotion):
pump_delay = float(caget(pv.ioc12_gp10)) if pump_status else None

params_dict = {
"visit": log._read_visit_directory_from_file(),
"visit": log._read_visit_directory_from_file().as_posix(),
"directory": caget(pv.ioc12_gp2),
"filename": filename,
"exposure_time_s": float(caget(pv.ioc12_gp5)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def write_parameter_file(
)

params_dict = {
"visit": log._read_visit_directory_from_file(),
"visit": log._read_visit_directory_from_file().as_posix(),
"directory": caget(pv.me14e_filepath),
"filename": filename,
"exposure_time_s": caget(pv.me14e_exptime),
Expand Down

0 comments on commit 49f0928

Please sign in to comment.