Skip to content

Commit

Permalink
changelog and import zoneinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Oct 16, 2023
1 parent b926085 commit c2f4cc9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# (Upcoming)
### Fixes
Remove `starting_time` reset to default value (0.0) when adding the rate and updating the `photon_series_kwargs` or `roi_response_series_kwargs`, in `add_photon_series` or `add_fluorescence_traces`. [PR #595](https://github.com/catalystneuro/neuroconv/pull/595)

### Features
Addedd `session_start_time` extraction to `FicTracDataInterface`. [PR #598](https://github.com/catalystneuro/neuroconv/pull/598)

Check failure on line 4 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

Addedd ==> Added


### Fixes
Remove `starting_time` reset to default value (0.0) when adding the rate and updating the `photon_series_kwargs` or `roi_response_series_kwargs`, in `add_photon_series` or `add_fluorescence_traces`. [PR #595](https://github.com/catalystneuro/neuroconv/pull/595)

* Changed the date parsing in `OpenEphysLegacyRecordingInterface` to `datetime.strptime` with the expected date format explicitly set to `"%d-%b-%Y %H%M%S"`. [PR #577](https://github.com/catalystneuro/neuroconv/pull/577)
* Pin lower bound HDMF version to `3.10.0`. [PR #586](https://github.com/catalystneuro/neuroconv/pull/586)




# v0.4.4

### Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
from datetime import datetime
from pathlib import Path
from typing import Optional
from zoneinfo import ZoneInfo

try:
from zoneinfo import ZoneInfo
except ImportError:
from backports.zoneinfo import ZoneInfo

from pynwb.behavior import CompassDirection, SpatialSeries
from pynwb.file import NWBFile
Expand Down Expand Up @@ -102,7 +106,7 @@ def add_to_nwbfile(

import pandas as pd

# The first row only contains the session start time and unvalid data
# The first row only contains the session start time and invalid data
fictrac_data_df = pd.read_csv(self.file_path, sep=",", skiprows=1, header=None, names=self.data_columns)

# Get the timestamps
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
backports.zoneinfo;python_version<"3.9"

0 comments on commit c2f4cc9

Please sign in to comment.