Skip to content

Commit

Permalink
Merge commit 'aff576d276919a89c4151630295f1cfa4c3a7e48'
Browse files Browse the repository at this point in the history
  • Loading branch information
cianwilson committed Apr 24, 2023
2 parents 192f70b + aff576d commit d3aa670
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions global_subduction_suite/scripts/generate_latex_diffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
minres='1.0'
cfl='1.0'

repodir = os.path.join(os.path.dirname(__file__), os.path.pardir)
repodir = os.path.relpath(os.path.join(os.path.dirname(__file__), os.path.pardir))
subdirs = sorted([os.path.basename(d) for d in glob.glob(os.path.join(repodir, '??_*'))])
for subdir in subdirs:
subpath = os.path.join(repodir, subdir, 'subduction_linearized_p2p1p2.tfml.run', 'Dc_80.0', 'minres_'+minres, 'cfl_'+cfl, 'run_0')
Expand All @@ -40,7 +40,7 @@
\\end{document}""".split(os.linesep)

with open(os.path.join('all_temperature_diffs.tex'), 'w') as f:
with open(os.path.join('Figures_comp_D80new_TF-Sepran_all.tex'), 'w') as f:
f.write(os.linesep.join(output))


0 comments on commit d3aa670

Please # to comment.