Skip to content

Commit

Permalink
Cleaning for 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gviejo committed Feb 7, 2022
1 parent 227c9da commit 9958fe1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
21 changes: 20 additions & 1 deletion docs/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,26 @@ In 2018, Francesco started neuroseries, a Python package built on Pandas. It was
In 2021, Guillaume and other trainees in Adrien's lab decided to fork from neuroseries and started *pynapple*. The core of pynapple is largely built upon neuroseries. Some of the original changes to TSToolbox made by Luke were included in this package, especially the *time_support* property of all ts/tsd objects.


0.1.0 (2021-10-25)
0.2.1 (2022-02-07)
------------------

- Beta testing version for Peyrache Lab.


0.2.0 (2022-01-10)
------------------

- First version for pynapple with main features in core, process and IO.


0.2.0 Pre-release (2022-01-06)
------------------------------

- Pre-release version for pynapple with main features in core and process.


0.1.1 (2021-10-25)
------------------

- First release on PyPI.
- Firt minimal version
3 changes: 2 additions & 1 deletion pynapple/core/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @Author: gviejo
# @Date: 2022-01-27 18:33:31
# @Last Modified by: gviejo
# @Last Modified time: 2022-02-04 17:41:11
# @Last Modified time: 2022-02-07 17:16:06

import pandas as pd
import numpy as np
Expand Down Expand Up @@ -93,6 +93,7 @@ def __init__(self, t, d=None, time_units='s', time_support=None, **kwargs):
if isinstance(t, SingleBlockManager):
d = t.array
t = t.index.values
time_units = 'us'
if 'index' in kwargs: kwargs.pop('index')
elif isinstance(t, pd.Series):
d = t.values
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/PeyracheLab/pynapple',
version='v0.2.0',
version='v0.2.1',
zip_safe=False,
long_description_content_type='text/markdown',
download_url='https://github.com/PeyracheLab/pynapple/archive/refs/tags/v0.2.0-alpha.0.tar.gz'
Expand Down

0 comments on commit 9958fe1

Please sign in to comment.