Skip to content

Commit 5abecc3

Browse files
authored
Merge pull request #143 from kabilar/main
Update version and changelog for release
2 parents e487f3a + 5993d6e commit 5abecc3

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

.github/workflows/u24_element_release_call.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
secrets:
1818
TWINE_USERNAME: ${{secrets.TWINE_TEST_USERNAME}}
1919
TWINE_PASSWORD: ${{secrets.TWINE_TEST_PASSWORD}}
20-
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}
2120
call_u24_elements_release_alpine:
2221
if: >-
2322
github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'datajoint' && !contains(github.event.workflow_run.head_branch, 'test')
@@ -27,5 +26,4 @@ jobs:
2726
secrets:
2827
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
2928
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
30-
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}
3129

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.2.6] - 2023-04-17
7+
8+
+ Fix - Update Pandas DataFrame column name to insert `pt_ratio` in `QualityMetrics.Waveform` table
9+
610
## [0.2.5] - 2023-04-12
711

812
+ Add - docstrings for quality metric tables
@@ -97,6 +101,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
97101
+ Add - Probe table supporting: Neuropixels probes 1.0 - 3A, 1.0 - 3B, 2.0 - SS,
98102
2.0 - MS
99103

104+
[0.2.6]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.6
100105
[0.2.5]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.5
101106
[0.2.4]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.4
102107
[0.2.3]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.3

docs/docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ services:
1414
- PACKAGE
1515
- UPSTREAM_REPO
1616
- MODE
17-
- GOOGLE_ANALYTICS_KEY
1817
- PATCH_VERSION
1918
volumes:
2019
- ../docs:/main/docs

docs/mkdocs.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,14 @@ nav:
5555
# UPSTREAM_REPO=https://github.com/datajoint/element-{ELEMENT}.git \
5656
# HOST_UID=$(id -u) docker compose -f docs/docker-compose.yaml up --build
5757
# ```
58-
# 02. Site analytics depend on a local environment variable GOOGLE_ANALYTICS_KEY
59-
# You can find this in LastPass or declare with any string to suppress errors
60-
# 03. The API section will pull docstrings.
61-
# A. Follow google style guide e.g.,
58+
# 02. The API section will pull docstrings.
59+
# A. Follow google style guide e.g.,
6260
# https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
6361
# With typing suggestions: https://docs.python.org/3/library/typing.html
6462
# B. To pull a specific workflow fork, change ./docs/src/api/make_pages.py#L19
65-
# 04. To see your fork of the workflow-{element} in this render, change the
63+
# 03. To see your fork of the workflow-{element} in this render, change the
6664
# URL in ./docs/src/api/make_pages.py#L19 to your fork.
67-
# 05. For redirecting options For redirect options, see 'redirects' below.
68-
# 06. To deploy this site on your fork,
65+
# 04. To deploy this site on your fork,
6966
# A. declare a branch called gh-pages
7067
# B. go to the your fork > settings > pages
7168
# C. direct pages to render from the gh-pages branch at root
@@ -142,13 +139,12 @@ markdown_extensions:
142139
- pymdownx.inlinehilite
143140
- pymdownx.snippets
144141
- footnotes
145-
142+
- pymdownx.magiclink # Displays bare URLs as links
143+
- pymdownx.tasklist: # Renders check boxes in tasks lists
144+
custom_checkbox: true
146145
extra:
147146
PATCH_VERSION: !ENV PATCH_VERSION
148147
generator: false # Disable watermark
149-
analytics:
150-
provider: google
151-
property: !ENV GOOGLE_ANALYTICS_KEY
152148
version:
153149
provider: mike
154150
social:

docs/src/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Tables for storing probe or unit-level visualization results.
168168

169169
Through our interviews and direct collaboration on the precursor projects, we identified
170170
the common motifs to create the
171-
[Array ElectrophysiologyElement](https://github.com/datajoint/element-array-ephys).
171+
[Array Electrophysiology Element](https://github.com/datajoint/element-array-ephys).
172172

173173
Major features of the Array Electrophysiology Element include:
174174

element_array_ephys/ephys_precluster.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,8 @@ def make(self, key):
12761276

12771277
metrics_df = pd.read_csv(metric_fp)
12781278
metrics_df.set_index("cluster_id", inplace=True)
1279+
metrics_df.replace([np.inf, -np.inf], np.nan, inplace=True)
1280+
metrics_df.columns = metrics_df.columns.str.lower()
12791281

12801282
metrics_list = [
12811283
dict(metrics_df.loc[unit_key["unit"]], **unit_key)

element_array_ephys/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata."""
2-
__version__ = "0.2.5"
2+
__version__ = "0.2.6"

0 commit comments

Comments
 (0)