Skip to content

Commit

Permalink
BUG(cli): fix type of "deconvolve" option (#132)
Browse files Browse the repository at this point in the history
Fixes the type of the "deconvolve" option for fields (was int, now
boolean).

Closes: #131
  • Loading branch information
ntessore authored Apr 16, 2024
1 parent 8e91e5b commit b607bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heracles/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def mapper_from_config(config, section):

nside = config.getint(section, "nside")
lmax = config.getint(section, "lmax", fallback=None)
deconvolve = config.getint(section, "deconvolve", fallback=None)
deconvolve = config.getboolean(section, "deconvolve", fallback=None)
return Healpix(nside, lmax, deconvolve=deconvolve)
return None

Expand Down

0 comments on commit b607bb1

Please sign in to comment.