From 0529fe7fede22b0f6978e430dff51eb5fd4346b7 Mon Sep 17 00:00:00 2001 From: hack Date: Tue, 22 Feb 2011 20:31:05 +0000 Subject: Fixed(?) circular import introduced into the HSTWCS module. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12005 fe389314-cf27-0410-b35b-8c050e845b92 --- wcsutil/hstwcs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wcsutil/hstwcs.py') diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index 1d38f42..122a0ba 100644 --- a/wcsutil/hstwcs.py +++ b/wcsutil/hstwcs.py @@ -4,7 +4,7 @@ import os.path from pywcs import WCS import pyfits import instruments -from stwcs.distortion import models, coeff_converter, utils +from stwcs.distortion import models, coeff_converter import altwcs import numpy as np from pytools import fileutil @@ -327,6 +327,8 @@ class HSTWCS(WCS): defined the algorithm for this implementation """ + from stwcs.distortion import utils + # Define some output arrays xout = np.zeros(len(ra),dtype=np.float64) yout = np.zeros(len(ra),dtype=np.float64) -- cgit