Skip to content

Commit

Permalink
Merge branch 'linux' of github.com:JADE-V-V/JADE into linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sbradnam committed Mar 15, 2024
2 parents 2d77129 + d1b20e1 commit ab599e2
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 223 deletions.
9 changes: 5 additions & 4 deletions jade/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def mainloop(session: Session):
sys.exit()
inputfile = input(" MCNP input file: ")

if newlib in session.lib_manager.libraries['mcnp']:
if newlib in session.lib_manager.libraries["mcnp"]:
ans = uty.translate_input(session, newlib, inputfile)
if ans:
print(" Translation successfully completed!\n")
Expand Down Expand Up @@ -582,7 +582,7 @@ def pploop(session: Session):
if ans:
lib = to_single_pp[0]
# Check active tests
to_perform = session.check_active_tests('Post-Processing')
to_perform = session.check_active_tests("Post-Processing")
# For the moment no pp is foreseen for experimental benchmarks
# to_perf_exp = session.check_active_tests('Post-Processing',
# exp=True)
Expand Down Expand Up @@ -707,10 +707,11 @@ def pploop(session: Session):

# Execute Comparison
lib_input = EXP_TAG + "-" + lib_input # Insert the exp tag
print(to_perform)
for code, testname in to_perform.items():
try:
pp.compareBenchmark(session, lib_input, code, testname, exp=True)
pp.compareBenchmark(
session, lib_input, code, testname, exp=True
)
except PermissionError as e:
clear_screen()
print(pp_menu)
Expand Down
Loading

0 comments on commit ab599e2

Please sign in to comment.