GNOME-physics / gdas

GNOME Data Analysis Software
MIT License
1 stars 4 forks source link

Probem with glue and gwpy after upgrading packages #2

Closed vincentdumont closed 7 years ago

vincentdumont commented 7 years ago

I have upgraded my Macports packages and tried to run the gdas_test script but it stopped working. The following error message is displayed when trying to import some gwpy modules:

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gwpy/io/ligolw.py", line 28, in <module>
    from glue.ligolw.table import CompareTableNames as compare_table_names
ImportError: cannot import name CompareTableNames

I managed to fix that particular error by upgrading the gwpy package, which was installed through pip, from version 0.1 to 0.3. However, I have yet another problem and is that the gwpy package no longer has a spectrum module in it:

    from gwpy.spectrum        import Spectrum
ImportError: No module named spectrum

The plotting and excess power routines in our softwares are using this module, so this should be fixed...

vincentdumont commented 7 years ago

Apparently both glue and gwpy packages have been updated and the modules that our scripts try to import no longer exist... I have added a comment on the documentation where I specify which version of each package is workable.