Skip to content

Explicitly close files opened in ROQ setup functions; print out errno when file opens fail

Josh Willis requested to merge (removed):close_roq_files_9288744c80 into master

This commit adds more informative error messages (based on errno) when the ROQ nodes and weights files fail to load, and explicitly closes those files and sets the pointers in persistent data structures to 'NULL' when the data has been read. It also cleans up indentation in several places.

A run of the lalinference tesjob before this change can be seen here and one after applying this change is here

Merge request reports

Loading