Skip to content

Commit

Permalink
Merge pull request #143 from kabilar/main
Browse files Browse the repository at this point in the history
Update version and changelog for release
  • Loading branch information
JaerongA authored Apr 18, 2023
2 parents e487f3a + 5993d6e commit 5abecc3
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/u24_element_release_call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
secrets:
TWINE_USERNAME: ${{secrets.TWINE_TEST_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_TEST_PASSWORD}}
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}
call_u24_elements_release_alpine:
if: >-
github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'datajoint' && !contains(github.event.workflow_run.head_branch, 'test')
Expand All @@ -27,5 +26,4 @@ jobs:
secrets:
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
GOOGLE_ANALYTICS_KEY: ${{secrets.GOOGLE_ANALYTICS_KEY}}

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.2.6] - 2023-04-17

+ Fix - Update Pandas DataFrame column name to insert `pt_ratio` in `QualityMetrics.Waveform` table

## [0.2.5] - 2023-04-12

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

[0.2.6]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.6
[0.2.5]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.5
[0.2.4]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.4
[0.2.3]: https://github.com/datajoint/element-array-ephys/releases/tag/0.2.3
Expand Down
1 change: 0 additions & 1 deletion docs/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ services:
- PACKAGE
- UPSTREAM_REPO
- MODE
- GOOGLE_ANALYTICS_KEY
- PATCH_VERSION
volumes:
- ../docs:/main/docs
Expand Down
18 changes: 7 additions & 11 deletions docs/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,14 @@ nav:
# UPSTREAM_REPO=https://github.com/datajoint/element-{ELEMENT}.git \
# HOST_UID=$(id -u) docker compose -f docs/docker-compose.yaml up --build
# ```
# 02. Site analytics depend on a local environment variable GOOGLE_ANALYTICS_KEY
# You can find this in LastPass or declare with any string to suppress errors
# 03. The API section will pull docstrings.
# A. Follow google style guide e.g.,
# 02. The API section will pull docstrings.
# A. Follow google style guide e.g.,
# https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
# With typing suggestions: https://docs.python.org/3/library/typing.html
# B. To pull a specific workflow fork, change ./docs/src/api/make_pages.py#L19
# 04. To see your fork of the workflow-{element} in this render, change the
# 03. To see your fork of the workflow-{element} in this render, change the
# URL in ./docs/src/api/make_pages.py#L19 to your fork.
# 05. For redirecting options For redirect options, see 'redirects' below.
# 06. To deploy this site on your fork,
# 04. To deploy this site on your fork,
# A. declare a branch called gh-pages
# B. go to the your fork > settings > pages
# C. direct pages to render from the gh-pages branch at root
Expand Down Expand Up @@ -142,13 +139,12 @@ markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets
- footnotes

- pymdownx.magiclink # Displays bare URLs as links
- pymdownx.tasklist: # Renders check boxes in tasks lists
custom_checkbox: true
extra:
PATCH_VERSION: !ENV PATCH_VERSION
generator: false # Disable watermark
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
version:
provider: mike
social:
Expand Down
2 changes: 1 addition & 1 deletion docs/src/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Tables for storing probe or unit-level visualization results.

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

Major features of the Array Electrophysiology Element include:

Expand Down
2 changes: 2 additions & 0 deletions element_array_ephys/ephys_precluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,8 @@ def make(self, key):

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

metrics_list = [
dict(metrics_df.loc[unit_key["unit"]], **unit_key)
Expand Down
2 changes: 1 addition & 1 deletion element_array_ephys/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.2.5"
__version__ = "0.2.6"

0 comments on commit 5abecc3

Please sign in to comment.