Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ntejos committed May 19, 2017
1 parent b222530 commit d741705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linetools/isgm/abscomponent.py
Expand Up @@ -760,12 +760,12 @@ def repr_joebvp(self, specfile, flags=(2,2,2), b_default=10*u.km/u.s):
b_val = b_default.to('km/s').value

# write string
s += '{:.8f}|{:.4f}|{:.4f}|0.|'.format(self.zcomp, logN, b_val) # `vel` is set to 0. because z is zcomp
s += '{:.8f}|{:.4f}|{:.4f}|0.|'.format(self.zcomp, logN, b_val) # `vel` is set to 0. because zsys is zcomp
s += '{}|{}|{}|'.format(int(flags[0]), int(flags[1]), int(flags[2]))
vlim = aline.limits.vlim.to('km/s').value
wvlim = aline.limits.wvlim.to('AA').value
s += '{:.4f}|{:.4f}|{:.5f}|{:.5f}|'.format(vlim[0], vlim[1], wvlim[0], wvlim[1])
s += '{:.8f}|{:s}|{:s}|{:s}'.format(self.zcomp, aline.data['ion_name'], self.reliability, self.comment)
s += '{:.8f}|{:s}|{:s}|{:s}'.format(self.zcomp, aline.data['ion_name'], self.reliability, self.comment) # zcomp again here

# if len(self.comment) > 0:
# s += '# {:s}'.format(self.comment)
Expand Down

0 comments on commit d741705

Please sign in to comment.