Closed jeanconn closed 4 years ago
It looks like one can't import the fid tests without importing the acq tests first? Or some other issue with the attributes.
Importing the fid tests gives error
ska3-fido$ python -c "import proseco.tests.test_fid" Traceback (most recent call last): File "<string>", line 1, in <module> File "/proj/sot/ska/jeanproj/git/proseco/proseco/tests/test_fid.py", line 12, in <module> FIDS = get_fid_catalog(stars=StarsTable.empty(), **STD_INFO) File "/proj/sot/ska/jeanproj/git/proseco/proseco/fid.py", line 50, in get_fid_catalog fids.set_attrs_from_kwargs(obsid=obsid, **kwargs) File "/proj/sot/ska/jeanproj/git/proseco/proseco/core.py", line 616, in set_attrs_from_kwargs raise ValueError(f'unexpected keyword argument "{name}"') ValueError: unexpected keyword argument "t_ccd"
Importing the acq tests first, no error.
ska3-fido$ python -c "import proseco.tests.test_acq; import proseco.tests.test_fid" ska3-fido$
It looks like one can't import the fid tests without importing the acq tests first? Or some other issue with the attributes.
Importing the fid tests gives error
Importing the acq tests first, no error.