Closed brentmsmith closed 2 years ago
Can you try to regenerate your pcigale.ini file after erasing it as well as pcigale.ini.spec. If it keeps occurring, could you attach these files please? Thanks!
@mboquien Thanks for taking a look, attached are the two files. I had to change the extension to txt so they'd upload. pcigale.ini.spec.txt pcigale.ini.txt
You need to move redshifting
to the end of the list of the sed_modules
parameter line 54 of the pcigale.ini
file. I believe it should work after this.
That did indeed, thank you!
After running
pcigale check
in my data directory, I get the error: TypeError: unsupported operand type(s) for =: 'NoneType' and 'float'. I'm not sure why this wavelength_grid is being set to None, but the sed object seems to exist. This is occurring in pcigale/sed_modules/redshifting.py at line 188: `sed.wavelength_grid = 1. + redshift. I verified that the
redshift` variable is not None but a float.