From b607bb1b9f83a975252151dc14ead6f1c251e972 Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Tue, 16 Apr 2024 14:00:56 +0100 Subject: [PATCH] BUG(cli): fix type of "deconvolve" option (#132) Fixes the type of the "deconvolve" option for fields (was int, now boolean). Closes: #131 --- heracles/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heracles/cli.py b/heracles/cli.py index b99b4e5..cc84b64 100644 --- a/heracles/cli.py +++ b/heracles/cli.py @@ -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