radiocosmology / caput

Cluster Astronomical Python Utilities
GNU General Public License v2.0
12 stars 21 forks source link

Allow fileformat to be set by fileformat subclass #237

Closed ljgray closed 1 year ago

ljgray commented 1 year ago

Setting a task output_format config property fails if given anything except h5py or zarr. This change allows the output_format config to be set by a fileformats.FileFormat subclass (H5PY or Zarr).

I should maybe take a deeper dive into this, because it actually shouldn't have been hitting the val = val.lower() call anyway...