Skip to content

No lalsim install fails in a weird way

Currently, if lalsimulation is not installed the scripts for GW-related searches will fail in a confusing way. When we do the import, if lalsimulation isn't installed we issue a logging warning. But, the logger is not yet set up (this happens at the start of the script). We could either

  • Change to a print statement warning - this could be annoying for people who never use lalsim, but get a warning everytime they run
  • Set up a simple logger automatically then update it when set_up_logger is called.

This also effects the backend setting logging calls as well.