Skip to content

Commit

Permalink
Merge pull request #358 from linetools/lt_xspec_doc
Browse files Browse the repository at this point in the history
Small edits for lt_xspec
  • Loading branch information
profxj committed Feb 17, 2017
2 parents f477ec7 + 53b5492 commit 5ce8a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linetools/scripts/lt_xspec.py
Expand Up @@ -13,7 +13,7 @@ def main(*args, **kwargs):
"""
import argparse

parser = argparse.ArgumentParser(description='Parse for XSpec; Extra arguments are passed to read_spec')
parser = argparse.ArgumentParser(description='Parser for lt_xspec; \n Note: Extra arguments are passed to read_spec (e.g. --flux_tag=FX)')
parser.add_argument("file", type=str, help="Spectral file; specify extension by appending #exten#")
parser.add_argument("-z", "--zsys", type=float, help="System Redshift")
parser.add_argument("--norm", help="Show spectrum continuum normalized (if continuum is provided)",
Expand Down
2 changes: 1 addition & 1 deletion linetools/spectralline.py
Expand Up @@ -786,7 +786,7 @@ def __repr__(self):
# fval
try:
txt = txt+', f={:g}'.format(self.data['f'])
except KeyError:
except (KeyError, ValueError):
pass
txt = txt + '>'
return (txt)
Expand Down

0 comments on commit 5ce8a7d

Please sign in to comment.