Skip to content

Commit

Permalink
afw.table.aliases was never intended to be public
Browse files Browse the repository at this point in the history
and it has now been removed.
  • Loading branch information
TallJimbo authored and Pim Schellart committed Mar 7, 2017
1 parent 5821316 commit 9ed65e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/meas/algorithms/ingestIndexReferenceTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ def make_schema(self, dtype):
def add_field(name):
if dtype[name].kind == 'U':
# dealing with a string like thing. Need to get type and size.
at_type = afwTable.aliases[str]
at_type = str
at_size = dtype[name].itemsize
return schema.addField(name, type=at_type, size=at_size)
else:
at_type = afwTable.aliases[dtype[name].type]
at_type = dtype[name].type
return schema.addField(name, at_type)

for item in mag_column_list:
Expand Down

0 comments on commit 9ed65e8

Please sign in to comment.