From d5d767a21c429f62dac99170009db2fc37452112 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Tue, 18 Nov 2025 08:25:17 -0500 Subject: [PATCH] refactor(misc): removed debugging output --- utils/reaclib/format.py | 17 ----------------- validation/pynucastro/GridFireEquiv/evolve.py | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/utils/reaclib/format.py b/utils/reaclib/format.py index d5aed757..baa274ca 100644 --- a/utils/reaclib/format.py +++ b/utils/reaclib/format.py @@ -361,28 +361,11 @@ def determine_reaction_type(reactants: List[str], ejectiles: List[str] = [] - debug = False - if reactants == ['b8'] and products == ['be8']: - debug = True - BETA_PLUS_THRESHOLD_ENERGY = 1.022 # MeV # ----------------------------------------------------------------------- # 1. Charged-lepton bookkeeping (|ΔZ| = 1) ------------------------------ # ----------------------------------------------------------------------- - if debug: - print("============") - print("Reactant Species: ", reactantSpecies) - print("Product Species: ", productSpecies) - print("Target Species: ", targetSpecies) - print("Residual Species: ", residualSpecies) - print("Nuclear Projectiles: ", nuclearProjectiles) - print("Nuclear Ejectiles: ", nuclearEjectiles) - print("aReact, aProd: ", aReact, aProd) - print("zReact, zProd: ", zReact, zProd) - print("nReact, nProd: ", nReact, nProd) - print("dA, dZ, dN: ", dA, dZ, dN) - print("qValue: ", qValue) if dZ == -1 and chapter == 1: ejectiles.append("e-") # β- decay diff --git a/validation/pynucastro/GridFireEquiv/evolve.py b/validation/pynucastro/GridFireEquiv/evolve.py index 787c8510..ed6d9001 100644 --- a/validation/pynucastro/GridFireEquiv/evolve.py +++ b/validation/pynucastro/GridFireEquiv/evolve.py @@ -50,8 +50,8 @@ from fourdst.atomic import species, Species from datetime import datetime from typing import List, Dict, Set, Tuple -symbols : list[str] = ["H-1", "He-3", "He-4", "C-12", "N-14", "O-16", "Ne-20", "Mg-24"] X : list[float] = [0.708, 2.94e-5, 0.276, 0.003, 0.0011, 9.62e-3, 1.62e-3, 5.16e-4] +symbols : list[str] = ["H-1", "He-3", "He-4", "C-12", "N-14", "O-16", "Ne-20", "Mg-24"] comp = Composition()