Skip to content

Commit

Permalink
Fixed bug where the parameters weren't actually loaded into syntax tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Sep 11, 2024
1 parent 1b559bc commit a30549b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions montepy/input_parser/material_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def material(self, p):
for key, node in p.introduction.nodes.items():
ret[key] = node
ret["data"] = p.isotopes
if hasattr(p, "parameters"):
ret["parameters"] = p.parameters
if len(p) > 2:
ret["parameters"] = p[2]
return syntax_node.SyntaxNode("data", ret)

@_("isotope_fractions", "number_sequence", "isotope_hybrid_fractions")
Expand Down

0 comments on commit a30549b

Please sign in to comment.