The way scan currently works is you must call config.init(<config_dir>) before reading in a span or really doing anything at all. That's super un-Pythonic, so at the very least it'd be nice to move that logic into __init__.py, since it always must be done to use the package. Not sure how that'd go with importing as a module though, since you can't really pass arguments to import, and ATS can legally exist anywhere on the system.
The way
scancurrently works is you must callconfig.init(<config_dir>)before reading in a span or really doing anything at all. That's super un-Pythonic, so at the very least it'd be nice to move that logic into__init__.py, since it always must be done to use the package. Not sure how that'd go with importing as a module though, since you can't really pass arguments toimport, and ATS can legally exist anywhere on the system.