Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Dec 12, 2014
1 parent 4d6eda8 commit b707b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions climata/acis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def load_data(self, data):
# element's value as attributes.
for elem, val in zip(self.parameter, row):
# namedtuple doesn't like numeric field names
if elem.isnumeric():
if elem.isdigit():
elem = "e%s" % elem
data[elem] = val
yield data
Expand All @@ -251,7 +251,7 @@ def get_field_names(self):
field_names = ['date']
for elem in self.parameter:
# namedtuple doesn't like numeric field names
if elem.isnumeric():
if elem.isdigit():
elem = "e%s" % elem
field_names.append(elem)
return field_names
Expand Down

0 comments on commit b707b15

Please sign in to comment.