From c4dd4161c714942395ad03be39c271e937c915a3 Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Sun, 21 Jul 2024 19:59:57 +0900 Subject: [PATCH] update: include shiftscript_ver and shifter in output csv --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b821d3f..06b8049 100644 --- a/src/main.rs +++ b/src/main.rs @@ -390,6 +390,8 @@ pub struct PsbQaqcResult { ppl_lock_reset_count: Option, timestamp: DateTime, qaqc_log_file: String, + shiftscript_ver: Version, + shifter: String, firmware_ver: Option, parameter_ver: Option, fpga_dna: Option, @@ -417,6 +419,8 @@ impl PsbQaqcResult { ppl_lock_reset_count: None, timestamp: result.datetime, qaqc_log_file: result.filename.clone(), + shiftscript_ver: result.version.clone(), + shifter: result.shifter.clone(), firmware_ver: None, parameter_ver: None, fpga_dna: None, @@ -434,7 +438,6 @@ fn main() -> Result<()> { .filter_level(args.verbose.log_level_filter()) .init(); debug!("Args: {:?}", args); - println!("Hello, world!"); debug!( "{:?}",