Skip to content

Commit

Permalink
fixing GUI log error
Browse files Browse the repository at this point in the history
  • Loading branch information
plasmapotential committed Mar 21, 2024
1 parent 683e07d commit 03a6e91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/launchHEAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ def launchHEAT(args):

#list of tokamak flags that are options in HEAT (if adding new tokamak add flag to list)
machineList = ['d3d','nstx','st40','step','sparc','west','kstar']

log = logging.getLogger(__name__)

#run HEAT in terminal mode
if mode=='t':
log = logging.getLogger(__name__)
print('\nRunning HEAT via Terminal User Interface (TUI)...\n')
log.info('\nRunning HEAT via Terminal User Interface (TUI)...\n')
import terminalUI
Expand Down
2 changes: 1 addition & 1 deletion tests/integrationTests/nstxuTestCase/nstx/PFCs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#
timesteps, PFCname, resolution, DivCode, intersectName, excludeName
#Example for optical calculations and rad power calculations
0:1.0, SOLID843, 5.0, LO, all, gyroSourcePlane
0:5000, SOLID843, 5.0, LO, all, gyroSourcePlane
#
#Example for gyro-orbit calculations
#0:5000, SOLID843, 5.0, LO, all, gyroSourcePlane
Expand Down

0 comments on commit 03a6e91

Please sign in to comment.