@@ -70,23 +70,23 @@ def _get_sensorgram_datacube(sensorgram_data: pd.DataFrame) -> DataCube:
7070def _get_device_control_custom_info (data : Data ) -> DictType :
7171 application_template_details = data .application_template_details
7272
73- custom_ifo : dict [str , Any ] = {
73+ custom_info : dict [str , Any ] = {
7474 "number of flow cells" : data .chip_data .number_of_flow_cells ,
7575 "number of spots" : data .chip_data .number_of_spots ,
7676 "buffer volume" : quantity_or_none (
7777 TQuantityValueMilliliter , data .run_metadata .buffer_volume
7878 ),
7979 }
8080 if detection_setting := data .run_metadata .detection_setting :
81- custom_ifo .update ({detection_setting .key : detection_setting .value })
81+ custom_info .update ({detection_setting .key : detection_setting .value })
8282
8383 detection_info = application_template_details .get_nested ("detection" )
84- custom_ifo .update (
84+ custom_info .update (
8585 detection_info .get (key = {"FlowCellSingle" , "FlowCellDual" , "FlowCellMulti" })
8686 )
8787
8888 temp_info = application_template_details .get_nested ("RackTemperature" )
89- custom_ifo .update (
89+ custom_info .update (
9090 temp_info .get_keys_as_dict (
9191 {
9292 "minimum operating temperature" : (float , "min" , None ),
@@ -96,7 +96,7 @@ def _get_device_control_custom_info(data: Data) -> DictType:
9696 )
9797
9898 system_preparations = application_template_details .get_nested ("system_preparations" )
99- custom_ifo .update (
99+ custom_info .update (
100100 system_preparations .get_keys_as_dict (
101101 {
102102 "analysis temperature" : (float , "AnalTemp" , None ),
@@ -105,7 +105,7 @@ def _get_device_control_custom_info(data: Data) -> DictType:
105105 }
106106 )
107107 )
108- return custom_ifo
108+ return custom_info
109109
110110
111111def create_metadata (data : Data , named_file_contents : NamedFileContents ) -> Metadata :
0 commit comments