diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a570b87..451d7032 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,18 @@ All notable changes to this project will be documented in this file. ### Added ### Changed +Bug fixes: +- Fixed memory leak in method of `EphysNWBData` caused by `@lru_cache` decorator + +## [1.0.2] = 2021-01-06 + +Changed: +- Add features_state information to the pipeline output json +- Improve performance of loading sweeps from NWB2 files by using LRU cache +- More robust error checking when loading time_series + +Bug fixes: +- Fix segment length rounding error in the DAT file converter ## [1.0.2] = 2021-01-06 diff --git a/ipfx/dataset/ephys_nwb_data.py b/ipfx/dataset/ephys_nwb_data.py index 32d00c38..9cf06bb5 100644 --- a/ipfx/dataset/ephys_nwb_data.py +++ b/ipfx/dataset/ephys_nwb_data.py @@ -1,9 +1,8 @@ from typing import Dict, Tuple, Sequence, Union, Type import warnings -from functools import lru_cache +from methodtools import lru_cache import numpy as np -import pandas as pd from dateutil import parser as dateparser from io import BytesIO diff --git a/ipfx/version.txt b/ipfx/version.txt index e6d5cb83..21e8796a 100644 --- a/ipfx/version.txt +++ b/ipfx/version.txt @@ -1 +1 @@ -1.0.2 \ No newline at end of file +1.0.3 diff --git a/requirements.txt b/requirements.txt index 907948a0..01e6e4c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ dictdiffer h5py==2.10.0 marshmallow==3.0.0rc6 matplotlib>=1.4.3 +methodtools numpy>=1.15.4,<1.19.0 pandas>=0.25.1,<=0.25.3 pg8000