@@ -83,7 +83,7 @@ def _read_decay_string(self, line: str) -> str:
8383 def _read_line (self , line : str ) -> dict :
8484 """Read a line of the file."""
8585 # Ignore isomers for the moment
86- state = self ._read_as_int (line , self .START_STATE , self .END_STATE )
86+ state = self ._read_as_int (line , self .START_STATE , self .END_STATE )
8787 if state is None or state > 0 :
8888 return dict ()
8989
@@ -92,25 +92,25 @@ def _read_line(self, line: str) -> dict:
9292 line = line .replace ("#" , " " )
9393
9494 data = {
95- "Experimental" : exp ,
95+ "Experimental" : exp ,
9696 "TableYear" : self .year ,
97- "A" : self ._read_as_int (line , self .START_A , self .END_A ),
98- "Z" : self ._read_as_int (line , self .START_Z , self .END_Z ),
99- "NubaseMassExcess" : self ._read_as_float (line , self .START_ME , self .END_ME ),
100- "NubaseMassExcessError" : self ._read_as_float (line , self .START_DME , self .END_DME ),
97+ "A" : self ._read_as_int (line , self .START_A , self .END_A ),
98+ "Z" : self ._read_as_int (line , self .START_Z , self .END_Z ),
99+ "NubaseMassExcess" : self ._read_as_float (line , self .START_ME , self .END_ME ),
100+ "NubaseMassExcessError" : self ._read_as_float (line , self .START_DME , self .END_DME ),
101101 # "LevelEnergy" : self._read_as_float(,
102102 # line, self.START_ISOMER, self.END_ISOMER
103103 # )
104104 # "LevelEnergyError" : self._read_as_float(,
105105 # line, self.START_DISOMER, self.END_DISOMER
106106 # )
107- "LevelSpin" : self ._read_spin (line ),
108- "DiscoveryYear" : (
107+ "LevelSpin" : self ._read_spin (line ),
108+ "DiscoveryYear" : (
109109 self ._read_as_int (line , self .START_YEAR , self .END_YEAR , default = 1900 )
110110 if self .year != 2003
111111 else 1900
112112 ),
113- "Decay" : self ._read_decay_string (line ),
113+ "Decay" : self ._read_decay_string (line ),
114114 }
115115
116116 data ["HalfLifeValue" ], data ["HalfLifeUnit" ], data ["HalfLifeError" ] = self ._read_all_halflife_data (line )
0 commit comments