Skip to content

Commit

Permalink
Merge af6158c into 7acdc98
Browse files Browse the repository at this point in the history
  • Loading branch information
ntejos committed Dec 26, 2017
2 parents 7acdc98 + af6158c commit 66bd4b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linetools/isgm/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def read_joebvp_to_components(filename, coord, llist=None, specfile=None, chk_ve
for key in ['flag_N', 'logN', 'sig_logN']:
setattr(abscomp, key, abscomp.attrib[key])
# Errors must be in first line!
assert abscomp.sig_logN > 0.
assert abscomp.sig_logN > 0., "AbsComponent has sig_logN=0 {}".format(abscomp)

comps.append(abscomp)
# Finish
return comps
Expand Down

0 comments on commit 66bd4b0

Please sign in to comment.