mirror of
https://gitlab.cern.ch/wotsubo/psboard-qaqc-postprocess.git
synced 2024-11-22 07:10:18 +09:00
update: include shiftscript_ver and shifter in output csv
This commit is contained in:
parent
62a5393cf5
commit
c4dd4161c7
1 changed files with 4 additions and 1 deletions
|
@ -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!(
|
||||||
"{:?}",
|
"{:?}",
|
||||||
|
|
Loading…
Reference in a new issue