From ddf1b9a902a6e7fa5271808cfd77b6c2f96a2e8c Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Tue, 10 Oct 2023 09:34:34 -0500 Subject: [PATCH] no unfittable params in plk --- src/pint/pintk/plk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pint/pintk/plk.py b/src/pint/pintk/plk.py index 368e19599..3a32ad013 100644 --- a/src/pint/pintk/plk.py +++ b/src/pint/pintk/plk.py @@ -208,6 +208,7 @@ def addFitCheckBoxes(self, model): for p in model.components[comp].params if p not in pulsar.nofitboxpars and getattr(model, p).quantity is not None + and p in model.fittable_params ] # Don't bother showing components without any fittable parameters