Skip to content

Commit

Permalink
Revert "Fix bug on TFIELDS"
Browse files Browse the repository at this point in the history
This reverts commit 646167f.
  • Loading branch information
jlenain committed Aug 23, 2024
1 parent 646167f commit a4be0a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
extname = hdu[h].header["EXTNAME"]
outdict[extname] = dict()
# for i in range(hdu[extname].header["TFIELDS"]):
if hdu[extname].header["TFIELDS"] > 1:
if len(hdu[extname].header["TFIELDS"]) > 1:
raise ValueError(
f"Wrong DQM format, {hdu[extname]} should contain only one element"
)
Expand Down

0 comments on commit a4be0a8

Please sign in to comment.