Skip to content

'igwn_ligolw.param' has no attribute 'Param'

Description of problem

When using series.py, line 232 throws an error saying:

AttributeError: module 'igwn_ligolw.param' has no attribute 'Param'

Expected behavior

Param does exist in the version of ligolw prior to it becoming igwn_ligolw.

With the previous version of ligolw, I see:

(Pdb) dir(ligolw_param)
['Param', '__author__', '__builtins__', '__cached__', '__date__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__version__', 'get_param', 'get_pyvalue', 'ligolw', 'ligolwtypes', 're', 'sys', 'use_in', 'xmlescape', 'yaml']
(Pdb) ligolw_param.Param
<class 'ligo.lw.param.Param'>

and line 232 does not cause any issues.

However, with the most recent version (igwn_ligolw), I see:

(Pdb) dir(ligolw_param)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__warningregistry__', 'use_in', 'warnings']
(Pdb) ligolw_param.Param
*** AttributeError: module 'igwn_ligolw.param' has no attribute 'Param'