Remove 'universal_' prefix from CSV column names in multi-branch mode
Universal components (Fermi, Screening, etc.) are exported under their plain names — no redundant prefix needed.
This commit is contained in:
@@ -1582,10 +1582,10 @@ class BetaSpectrumAnalyzer:
|
||||
for comp_name, values in branch_comps.items():
|
||||
data[f"branch_{i+1}_{comp_name}"] = values
|
||||
|
||||
# Universal components only (skip per-branch keys)
|
||||
# Universal components (same for all branches — no prefix needed)
|
||||
for name, values in components.items():
|
||||
if not name.startswith("branch_"):
|
||||
data[f"universal_{name}"] = values
|
||||
data[name] = values
|
||||
else:
|
||||
# Single-branch mode: standard export
|
||||
for name, values in components.items():
|
||||
|
||||
Reference in New Issue
Block a user