mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-06-30 08:49:28 +02:00
Most dictionaries removed from Obs.__init__, the dicitonaries are now
only initialized when the gamma_method is executed
This commit is contained in:
parent
7874bdb1fd
commit
caa5fdb348
2 changed files with 22 additions and 37 deletions
|
@ -175,7 +175,7 @@ def write_ADerrors(obs_list, file_path, bdio_path='./libbdio.so', **kwargs):
|
|||
"""
|
||||
|
||||
for obs in obs_list:
|
||||
if not obs.e_names:
|
||||
if not hasattr(obs, 'e_names'):
|
||||
raise Exception('Run the gamma method first for all obs.')
|
||||
|
||||
bdio = ctypes.cdll.LoadLibrary(bdio_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue