From bb302c2423f702a489a42c8311dc412388e42bd9 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 10 Oct 2023 19:15:16 -0500 Subject: [PATCH] remove print commands (REVERT IF NEEDED FOR TESTING) --- src/pyhf/experimental/modifiers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pyhf/experimental/modifiers.py b/src/pyhf/experimental/modifiers.py index 829d3a461d..19b29ac3ed 100644 --- a/src/pyhf/experimental/modifiers.py +++ b/src/pyhf/experimental/modifiers.py @@ -84,7 +84,6 @@ def append(self, key, channel, sample, thismod, defined_sample): self.builder_data[key][sample]["data"]["mask"] += mod_data["mask"] if thismod: if thismod["name"] != func_name: - print(thismod) self.builder_data["funcs"].setdefault( thismod["name"], thismod["data"]["expr"] ) @@ -150,14 +149,12 @@ def apply(self, pars): tensorlib, _ = get_backend() if self.batch_size is None: deps = self.param_viewer.get(pars) - print("deps", deps.shape) results = tensorlib.astensor([f(deps) for f in self.funcs]) results = tensorlib.einsum( "msab,m->msab", self.custom_mod_mask, results ) else: deps = self.param_viewer.get(pars) - print("deps", deps.shape) results = tensorlib.astensor([f(deps) for f in self.funcs]) results = tensorlib.einsum( "msab,ma->msab", self.custom_mod_mask, results