remove the is_pointlike keyword from the irf.to_table method
@@ -422,6 +422,8 @@ class IRF(metaclass=abc.ABCMeta):
table.meta["HDUCLAS2"] = spec["hduclas2"]
if self.is_pointlike:
table.meta["HDUCLAS3"] = "POINT-LIKE"
+ if "is_pointlike" in table.meta:
+ del table.meta["is_pointlike"]
table[spec["column_name"]] = self.quantity.T[np.newaxis]
else:
raise ValueError(f"Not a valid supported format: '{format}'")
