Commit d9d225e7 authored by Médéric Boquien's avatar Médéric Boquien

Fix bug in the import of the Dale 2014 templates. The α=4 template was not imported.

parent 47f33669
......@@ -321,7 +321,7 @@ def build_dale2014(base):
data = "".join(datafile.readlines())
datafile.close()
for al in range(1, len(alpha_grid), 1):
for al in range(1, len(alpha_grid)+1, 1):
lumin_with_stell = np.genfromtxt(io.BytesIO(data.encode()),
usecols=(al))
lumin_with_stell = pow(10, lumin_with_stell) / wave
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment