Skip to content

EOS file names with underscores not parsed correctly

I was trying to load the APR4_EPP EOS file, using

apr4_eos = bilby.gw.eos.TabularEOS('APR4_EPP')
apr4_fam = bilby.gw.eos.EOSFamily(apr4_eos)

but I get OSError: APR4_EPP not found. Upon further investigation, it turns out that the file names with underscores are not being parsed correctly by this line of code: https://git.ligo.org/lscsoft/bilby/-/blob/master/bilby/gw/eos/eos.py#L32 So, when I look at the bilby.gw.eos.eos.valid_eos_names, only the sequence of letters after the underscore is being stored, in this case EPP.