update: include shiftscript_ver and shifter in output csv

This commit is contained in:
Wataru Otsubo 2024-07-21 19:59:57 +09:00
parent 62a5393cf5
commit c4dd4161c7

View file

@ -390,6 +390,8 @@ pub struct PsbQaqcResult {
ppl_lock_reset_count: Option<i32>, ppl_lock_reset_count: Option<i32>,
timestamp: DateTime<Utc>, timestamp: DateTime<Utc>,
qaqc_log_file: String, qaqc_log_file: String,
shiftscript_ver: Version,
shifter: String,
firmware_ver: Option<Version>, firmware_ver: Option<Version>,
parameter_ver: Option<Version>, parameter_ver: Option<Version>,
fpga_dna: Option<u64>, fpga_dna: Option<u64>,
@ -417,6 +419,8 @@ impl PsbQaqcResult {
ppl_lock_reset_count: None, ppl_lock_reset_count: None,
timestamp: result.datetime, timestamp: result.datetime,
qaqc_log_file: result.filename.clone(), qaqc_log_file: result.filename.clone(),
shiftscript_ver: result.version.clone(),
shifter: result.shifter.clone(),
firmware_ver: None, firmware_ver: None,
parameter_ver: None, parameter_ver: None,
fpga_dna: None, fpga_dna: None,
@ -434,7 +438,6 @@ fn main() -> Result<()> {
.filter_level(args.verbose.log_level_filter()) .filter_level(args.verbose.log_level_filter())
.init(); .init();
debug!("Args: {:?}", args); debug!("Args: {:?}", args);
println!("Hello, world!");
debug!( debug!(
"{:?}", "{:?}",