parsotat / BatAnalysis

A python HEASOFT wrapper for processing Swift-BAT data.
MIT License
28 stars 11 forks source link

MIssing commas in `__init__.py` #11

Closed dmopalmer closed 10 months ago

dmopalmer commented 10 months ago

On the main branch, in __init__.py, you need commas to delimit the members of __all__. Otherwise it just concatenates them all together

__all__ = [
    'batobservation'
    'bat_survey'
    'bat_tte'
    'batlib'
    'plotting'
    'mosaic'
]

Error message:

----> 1 from batanalysis import *

AttributeError: module 'batanalysis' has no attribute 'batobservationbat_surveybat_ttebatlibplottingmosaic'
parsotat commented 10 months ago

you can temporarily work around this by doing import batanalysis as ba while I incorporate a pull request

parsotat commented 10 months ago

v1.0.6 has been uploaded to PyPI and fixes this issue. Can you verify @dmopalmer?