Skip to content

Commit e7fb7a5

Browse files
committed
fix
1 parent d5553f4 commit e7fb7a5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

EOS/tillotson/_parameters

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@namespace: eos
1+
@namespace: eos
22

33
eos_la real 0.5
44

sphinx_docs/rp.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def pretty_category(path):
4646
return f"CONDUCTIVITY_DIR={subdir}"
4747
if path.startswith("integration/"):
4848
return f"INTEGRATOR_DIR={subdir}"
49+
if path.startswith("opacity/"):
50+
return f"OPACITY_DIR={subdir}"
4951
return path
5052

5153

@@ -65,9 +67,9 @@ def make_rest_table(param_files):
6567

6668
# open the file
6769
try:
68-
f = open(pf, "r")
69-
except IOError:
70-
sys.exit("ERROR: {} does not exist".format(pf))
70+
f = open(pf)
71+
except OSError:
72+
sys.exit(f"ERROR: {pf} does not exist")
7173

7274
descr = r""
7375

0 commit comments

Comments
 (0)