Skip to content
Snippets Groups Projects

Feat/dss cimprove master rebasing

Closed Andrey Samartsev requested to merge feat/DSSCimproveMasterRebasing into feat/DSSCdarksImprove
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -94,7 +94,7 @@ def map_modules_from_folder(in_folder, run, path_template, karabo_da,
module_files[name].put(abs_fname)
total_sequences += 1
sequences_qm[name] += 1
total_file_size += path.getsize(filename)
total_file_size += path.getsize(abs_fname)
return (module_files, mod_ids, total_sequences,
sequences_qm, total_file_size)
@@ -390,8 +390,8 @@ def get_from_db(device, constant, condition, empty_constant,
if constant.name not in already_printed or verbosity > 1:
already_printed[constant.name] = True
begin_at = metadata.calibration_constant_version.begin_at
print("{} was injected on: {}".format(constant.name,
begin_at))
print(f"Retrieved {constant.name} "
f"with creation time: {begin_at}")
return constant.data, metadata
else:
return empty_constant, metadata
Loading