Commit 1e0ec9e5277097b607d9ed6bae0960e8ba44b16f

Authored by Jürgen Knödlseder
2 parents 9a25462a db8ed314

Merge branch 'fiximport' into integration

doc/source/user_manual/getting_started/python.rst
... ... @@ -18,13 +18,6 @@ generally not very useful.
18 18 >>> import gammalib
19 19 >>> import ctools
20 20  
21   -.. warning::
22   -
23   - The GammaLib module needs to be imported **before** the ctools
24   - module so that GammaLib class types are handled correctly.
25   - So make sure that you **always import the GammaLib module before the ctools
26   - module.**
27   -
28 21 To illustrate how to use ctools from Python, below is a working example
29 22 of an event list simulation using the :ref:`ctobssim` class.
30 23 An instance ``sim`` of the :ref:`ctobssim` class is generated and user
... ...
pyext/ctools/__init__.py
  1 +# import gammalib first
  2 +import gammalib
  3 +
1 4 # Import sub modules
2 5 from .tools import *
3 6 #import obsutils (require explicit from ctools import obsutils)
... ...