APS-4ID-POLAR / polartools

Python package to read and process data from the APS Polar beamline.
https://polartools.readthedocs.io/en/latest/
Other
2 stars 2 forks source link

Why databroker-unpack needs to run before pytest? #34

Open gfabbris opened 3 years ago

gfabbris commented 3 years ago

The CIs run fine only if I run databroker-unpack in the command line before running pytest (here).

I suspect this has something to do with creating/finding the intake catalog folder, which can be read from databroker as databroker.catalog_search_path. This problem doesn't come up if I run pytest in my machine. Also, note that the catalog created by databroker-unpack is not used in the tests.

I'm going to leave this as is for now.

Originally posted by @gfabbris in https://github.com/APS-4ID-POLAR/polartools/issues/32#issuecomment-782309790