Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tokeefe committed Jan 30, 2019
1 parent b656b9c commit a5e6c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygeneactiv/__version__.py
@@ -1,6 +1,6 @@
__title__ = 'pygeneactiv'
__description__ = 'GENEActiv library'
__url__ = 'https://github.com/harvard-nrg/pygeneactiv'
__version__ = '0.1.1'
__version__ = '0.2'
__author__ = 'Neuroinformatics Research Group'
__author_email__ = 'info@neuroinfo.org'
2 changes: 1 addition & 1 deletion pygeneactiv/reader/__init__.py
Expand Up @@ -64,7 +64,7 @@ def __read_sensor(self, reader, sensor_type):
def get_data(self, chunksize=100, parsedates=False):
''' iterate over data in user-defined chunks i'''
parser = None
if parse_dates:
if parsedates:
parser = lambda x: pandas.to_datetime(x, format='%Y-%m-%d %H:%M:%S:%f')
df = pandas.read_csv(self.f,
skiprows=self.num_header_rows,
Expand Down

0 comments on commit a5e6c34

Please sign in to comment.