Skip to content

Commit

Permalink
naming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvalentine94 committed Nov 18, 2024
1 parent 90a7c92 commit 0549c65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jade/expoutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ def _define_title(self, input: str, particle: str, quantity: str) -> str:
return title


class FNGCPBOutput(ExperimentalOutput):
class FNGHCPBOutput(ExperimentalOutput):
def _processMCNPdata(self, output: MCNPSimOutput) -> None:
"""
Used to override parent function as this is not required.
Expand Down
2 changes: 1 addition & 1 deletion jade/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _get_output(action, code, testname, lib, session):

elif testname == "FNG-HCPB":
if action == "compare":
out = expo.FNGCPBOutput(lib, testname, session, multiplerun=True)
out = expo.FNGHCPBOutput(lib, testname, session, multiplerun=True)

Check warning on line 190 in jade/postprocess.py

View check run for this annotation

Codecov / codecov/patch

jade/postprocess.py#L190

Added line #L190 was not covered by tests
elif action == "pp":
print(exp_pp_message)
return False
Expand Down
2 changes: 1 addition & 1 deletion tests/expoutput_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def test_fnghcpboutput(self, session_mock: MockUpSession):
testname = "FNG-HCPB"
os.makedirs(session_mock.path_comparison)
os.makedirs(session_mock.path_single)
self.benchoutput_comp = expoutput.FNGCPBOutput(
self.benchoutput_comp = expoutput.FNGHCPBOutput(
["32c", "31c", "00c"], code, testname, session_mock, multiplerun=True
)
self.benchoutput_comp.compare()
Expand Down

0 comments on commit 0549c65

Please sign in to comment.