File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1004,23 +1004,24 @@ def __init__(
10041004 subentry_ids = entry_data .keys ()
10051005
10061006 # parse common
1007- self .common_subentry = None
10081007 self .meta = None
10091008 self .err_analysis = None
10101009 self .common_labels = []
1010+ self .normalization_uncertainty = 0
10111011
10121012 if entry + "001" not in subentry_ids :
10131013 raise ValueError (f"Missing first subentry in entry { entry } " )
10141014 elif entry_data [entry + "001" ] is not None :
1015- self . common_subentry = entry_data [entry + "001" ]
1016- self .meta = self . common_subentry ["BIB" ].meta (entry + "001" )
1015+ common_subentry = entry_data [entry + "001" ]
1016+ self .meta = common_subentry ["BIB" ].meta (entry + "001" )
10171017
10181018 # parse any common errors
1019- self .err_analysis = extract_err_analysis (self . common_subentry )
1020- if "COMMON" in self . common_subentry .keys ():
1021- common = self . common_subentry ["COMMON" ]
1019+ self .err_analysis = extract_err_analysis (common_subentry )
1020+ if "COMMON" in common_subentry .keys ():
1021+ common = common_subentry ["COMMON" ]
10221022 self .common_labels = common .labels
10231023
1024+
10241025 entry_datasets = entry_data .getDataSets ()
10251026 self .subentries = [key [1 ] for key in entry_datasets .keys ()]
10261027 self .measurements = []
You can’t perform that action at this time.
0 commit comments