Skip to content

Commit

Permalink
Export load_xsXXX routines from xspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
DougBurke committed Jul 20, 2015
1 parent 4967b35 commit ccd2ccf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sherpa/astro/xspec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4152,4 +4152,5 @@ def load_xszmshift(modelname):

# Add model classes to __all__
#__all__ += tuple(n for n in globals() if n.startswith('XS'))
__all__ += tuple(n for n in dir() if n.startswith('XS'))
__all__ += tuple(n for n in dir() if n.startswith('XS') or \
(n.startswith('load_xs') and n != 'load_xsconvolve'))

0 comments on commit ccd2ccf

Please sign in to comment.