Skip to content
Snippets Groups Projects
Commit cfebbe67 authored by David Verelst's avatar David Verelst
Browse files

prepost: 3 small fixes

parent 1e81484f
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,7 @@ def tags_defaults(master):
master.tags['[log_dir]'] = 'logfiles/'
master.tags['[meander_dir]'] = False
master.tags['[opt_dir]'] = False
master.tags['[pbs_in_dir]'] = 'pbs_in/'
master.tags['[pbs_out_dir]'] = 'pbs_out/'
master.tags['[res_dir]'] = 'res/'
master.tags['[iter_dir]'] = 'iter/'
......
......@@ -12,8 +12,6 @@ from builtins import str
from future import standard_library
standard_library.install_aliases()
#print(*objects, sep=' ', end='\n', file=sys.stdout)
import os
......@@ -47,7 +45,7 @@ plt.rc('xtick', labelsize=10)
plt.rc('ytick', labelsize=10)
plt.rc('axes', labelsize=12)
# do not use tex on Gorm
if not socket.gethostname()[:2] == 'g-':
if not socket.gethostname()[:2] in ['g-', 'je']:
plt.rc('text', usetex=True)
plt.rc('legend', fontsize=11)
plt.rc('legend', numpoints=1)
......
......@@ -243,6 +243,11 @@ def launch_dlcs_excel(sim_id, silent=False, verbose=False, pbs_turb=True,
silent=silent, verbose=verbose)
if pbs_turb:
# to avoid confusion and launching HAWC2 simulations and turbulence
# generator Mann64 at the same time, place PBS launch scripts in a
# different folder
for cname, case in cases.items():
case['[pbs_in_dir]'] = 'pbs_turb/'
mann64 = sim.ManTurb64(silent=silent)
mann64.gen_pbs(cases)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment