SWIFTSIM / emulator

The SWIFT simulation cosmological emulator (swift-emulator)
GNU Lesser General Public License v3.0
5 stars 2 forks source link

I/O loading does not respect no `log_independent` #19

Closed JBorrow closed 1 year ago

JBorrow commented 3 years ago

When using load_pipeline_outputs:

    scaling_relations=[scaling_relation],
  File "/cosma7/data/dp004/dc-borr1/emulator/swiftemulator/io/swift.py", line 102, in load_pipeline_outputs
    if scaling_relation in log_independent:
TypeError: argument of type 'NoneType' is not iterable

If log_independent is not given we crash like this (we never cast the None to []).