From 433054acfc0593f83bd8ee650ac7ceb991e3c5e8 Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 27 Jun 2011 19:50:30 +0000 Subject: don't use private attributes git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13266 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/distortion/mutil.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/stwcs/distortion/mutil.py') diff --git a/lib/stwcs/distortion/mutil.py b/lib/stwcs/distortion/mutil.py index ab9eac2..8f80b67 100644 --- a/lib/stwcs/distortion/mutil.py +++ b/lib/stwcs/distortion/mutil.py @@ -103,7 +103,7 @@ def readIDCtab (tabname, chip=1, date=None, direction='forward', #Determine row from which to get the coefficients. # How many rows do we have in the table... fshape = ftab[1].data.shape - colnames = ftab[1].data._names + colnames = ftab[1].data.names row = -1 # Loop over all the rows looking for the one which corresponds @@ -221,7 +221,7 @@ def readIDCtab (tabname, chip=1, date=None, direction='forward', # numeric arrays we have set up... # Setup which column name convention the IDCTAB follows # either: A,B or CX,CY - if 'CX10' in ftab[1].data._names: + if 'CX10' in ftab[1].data.names: cxstr = 'CX' cystr = 'CY' else: @@ -310,7 +310,7 @@ def readOfftab(offtab, date, chip=None): #Determine row from which to get the coefficients. # How many rows do we have in the table... fshape = ftab[1].data.shape - colnames = ftab[1].data._names + colnames = ftab[1].data.names row = -1 row_start = None -- cgit