Skip to content

Instantly share code, notes, and snippets.

View joleroi's full-sized avatar

Johannes King joleroi

View GitHub Profile
running test
running build
running build_py
running build_ext
skipping 'gammapy/detect/_test_statistics_cython.c' Cython extension (up-to-date)
Gammapy test data availability:
gammapy-extra ... yes
hess ............ yes
Astropy regions is an in-development package for region handling based on
Astropy (http://astropy-regions.readthedocs.io/en/latest/). It was already
discussed at PyAstro15 and PyAstro16
(http://astropy-regions.readthedocs.io/en/latest/development.html#notes). The
motivation for the regions package was to merge the functionality from pyregion
(http://pyregion.readthedocs.io/en/latest/) and photutils apertures
(http://photutils.readthedocs.io/en/latest/photutils/aperture.html) into a
single package and add more functionality. We plan to propose the new regions
package for inclusion into the Astropy core as ⁠⁠'astropy.region'⁠⁠⁠⁠ in April 2017,
well in time for the Astropy 2.0 release. In my talk I
---------------------------------------------------------------------------
UnitConversionError Traceback (most recent call last)
<ipython-input-1-99b7b96cd801> in <module>()
1 import astropy.units as u
2 myunit = u.keV
----> 3 myunit.decompose(bases=[u.TeV])
/home/kingj/Software/astropy/astropy/units/core.pyc in decompose(self, bases)
1952
1953 def decompose(self, bases=set()):
g/out/Converter3.ros (shared c++ object - with ROOT)
Generating tracking/out/roottrackingDict.C (ROOT dictionary)
Compiling dbutils/out/dbdump.o (static c++ object - with ROOT)
Compiling dbutils/out/make_run_list.o (static c++ object - with ROOT)
Compiling dbutils/out/quality_report.o (static c++ object - with ROOT)
Compiling haptest/out/lookup_summary.o (static c++ object - with ROOT)
Compiling haptest/out/Utils.ros (shared c++ object - with ROOT)
Generating haptest/out/roothaptestDict.C (ROOT dictionary)
Compiling tools/out/ParameterSelector.ros (shared c++ object - with ROOT)
Compiling tools/out/EventSelector.ros (shared c++ object - with ROOT)
running test
running build
running build_py
copying gammapy/_compiler.c -> build/lib.linux-x86_64-2.7/gammapy
running build_ext
building 'gammapy._compiler' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kingj/Software/miniconda3/envs/headversions/include/python2.7 -c gammapy/_compiler.c -o build/temp.linux-x86_64-2.7/gammapy/_compiler.o
gcc -pthread -shared -L/home/kingj/Software/miniconda3/envs/headversions/lib -Wl,-rpath=/home/kingj/Software/miniconda3/envs/headversions/lib,--no-as-needed build/temp.linux-x86_64-2.7/gammapy/_compiler.o -L/home/kingj/Software/miniconda3/envs/headversions/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/gammapy/_compiler.so
skipping 'gammapy/detect/_test_statistics_cython.c' Cython extension (up-to-date)
---------------------------------------------------------------------------
IOError Traceback (most recent call last)
<ipython-input-56-9abdbbe5bae3> in <module>()
7 exclusion_mask=exclusion_mask)
8
----> 9 images = image_estimator.run(observation_list)
/home/kingj/Software/gammapy/gammapy/image/basic.pyc in run(self, observations, which)
246 for observation in observations:
247 if 'counts' in which:
running test
running build
running build_py
copying gammapy/_compiler.c -> build/lib.linux-x86_64-3.5/gammapy
running build_ext
building 'gammapy._compiler' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kingj/Software/miniconda3/envs/headversions/include/python3.5m -c gammapy/_compiler.c -o build/temp.linux-x86_64-3.5/gammapy/_compiler.o
gcc -pthread -shared -L/home/kingj/Software/miniconda3/envs/headversions/lib -Wl,-rpath=/home/kingj/Software/miniconda3/envs/headversions/lib,--no-as-needed build/temp.linux-x86_64-3.5/gammapy/_compiler.o -L/home/kingj/Software/miniconda3/envs/headversions/lib -lpython3.5m -o build/lib.linux-x86_64-3.5/gammapy/_compiler.cpython-35m-x86_64-linux-gnu.so
skipping 'gammapy/detect/_test_statistics_cython.c' Cython extension (up-to-date)
skipping 'gammapy/maps/_sparse.c' Cython extension (up-to-date)
pytest -vv gammapy/maps/tests/test_hpxmap.py
Internet access disabled
Gammapy test data availability:
gammapy-extra ... yes
hess ............ yes
Gammapy environment variables:
GAMMAPY_EXTRA = /home/kingj/Software/gammapy-extra
running test
running build
running build_py
copying gammapy/_compiler.c -> build/lib.linux-x86_64-3.6/gammapy
running build_ext
building 'gammapy._compiler' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kingj/Software/miniconda3/envs/python36/include/python3.6m -c gammapy/_compiler.c -o build/temp.linux-x86_64-3.6/gammapy/_compiler.o
gcc -pthread -shared -L/home/kingj/Software/miniconda3/envs/python36/lib -Wl,-rpath=/home/kingj/Software/miniconda3/envs/python36/lib,--no-as-needed build/temp.linux-x86_64-3.6/gammapy/_compiler.o -L/home/kingj/Software/miniconda3/envs/python36/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/gammapy/_compiler.cpython-36m-x86_64-linux-gnu.so
skipping 'gammapy/detect/_test_statistics_cython.c' Cython extension (up-to-date)
skipping 'gammapy/maps/_sparse.c' Cython extension (up-to-date)