Skip to content

Commit

Permalink
Spit out exe file path in Case Information
Browse files Browse the repository at this point in the history
  • Loading branch information
opotowsky committed Jan 13, 2025
1 parent 85053e3 commit 579af21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions armi/bookkeeping/report/reportingUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
Operator_WorkingDirectory = "Working Directory:"
Operator_CurrentUser = "Current User:"
Operator_PythonInterperter = "Python Interpreter:"
Operator_PythonExecutable = "Python Executable:"
Operator_ArmiCodebase = "ARMI Location:"
Operator_MasterMachine = "Master Machine:"
Operator_Date = "Date and Time:"
Expand All @@ -77,6 +78,7 @@ def _writeCaseInformation(o, cs):
(Operator_ArmiCodebase, context.ROOT),
(Operator_WorkingDirectory, os.getcwd()),
(Operator_PythonInterperter, sys.version),
(Operator_PythonExecutable, sys.executable),
(Operator_MasterMachine, getNodeName()),
(Operator_NumProcessors, context.MPI_SIZE),
(Operator_Date, context.START_TIME),
Expand Down
1 change: 1 addition & 0 deletions armi/bookkeeping/report/tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def test_writeWelcomeHeaders(self):
self.assertIn("Case Info", mock.getStdout())
self.assertIn("Input File Info", mock.getStdout())
self.assertIn("crossSectionControl-DA", mock.getStdout())
self.assertIn("Python Executable", mock.getStdout())
self.assertIn(randoFile, mock.getStdout())


Expand Down

0 comments on commit 579af21

Please sign in to comment.