Skip to content

Commit

Permalink
Merge pull request #90 from cdeil/extern
Browse files Browse the repository at this point in the history
Move kapteyn_celestial.py to extern and fix coveragerc
  • Loading branch information
cdeil committed Aug 4, 2016
2 parents be364da + 616617d commit 1528c9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Empty file added pyregion/extern/__init__.py
Empty file.
File renamed without changes.
1 change: 1 addition & 0 deletions pyregion/tests/coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ omit =
{packagename}/*/tests/*
{packagename}/*/*/tests/*
{packagename}/version*
{packagename}/extern/*

[report]
exclude_lines =
Expand Down
7 changes: 3 additions & 4 deletions pyregion/wcs_helper.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import re
import numpy as np
from astropy.extern import six
from astropy.wcs import WCS
from astropy.io.fits import Header

from .kapteyn_celestial import skymatrix, longlat2xyz, dotrans, xyz2longlat
from . import kapteyn_celestial
from astropy.extern import six
from .extern.kapteyn_celestial import skymatrix, longlat2xyz, dotrans, xyz2longlat
from .extern import kapteyn_celestial

_pattern_ra = re.compile(r"^RA")
_pattern_dec = re.compile(r"^DEC")
Expand Down

0 comments on commit 1528c9d

Please sign in to comment.