Skip to content

Commit 5645ebc

Browse files
committed
Apply hooks except isort
1 parent 181677e commit 5645ebc

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ repos:
2323
args:
2424
- --line-length=88
2525

26-
# isort
27-
- repo: https://github.com/pycqa/isort
28-
rev: 5.11.2
29-
hooks:
30-
- id: isort
31-
description: Sorts imports in an alphabetical order
26+
# # isort
27+
# - repo: https://github.com/pycqa/isort
28+
# rev: 5.11.2
29+
# hooks:
30+
# - id: isort
31+
# description: Sorts imports in an alphabetical order
3232

3333
# flake8
3434
- repo: https://github.com/pycqa/flake8

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contribution Guidelines
22

3-
This project follows the [DataJoint Contribution Guidelines](https://docs.datajoint.io/python/community/02-Contribute.html). Please reference the link for more full details.
3+
This project follows the [DataJoint Contribution Guidelines](https://docs.datajoint.io/python/community/02-Contribute.html). Please reference the link for more full details.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ fully functional pipeline.
88

99
![diagram](https://raw.githubusercontent.com/datajoint/element-array-ephys/main/images/diagram_flowchart.svg)
1010

11-
Installation and usage instructions can be found at the
11+
Installation and usage instructions can be found at the
1212
[Element documentation](https://datajoint.com/docs/elements/element-array-ephys).

element_array_ephys/export/nwb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ which can be called independently:
5252

5353

5454
source data -> processing["ecephys"].lfp.electrical_series["ElectricalSeries{insertion_number}"].data
55-
source data -> processing["ecephys"].lfp.electrical_series["ElectricalSeries{insertion_number}"].timestamps
55+
source data -> processing["ecephys"].lfp.electrical_series["ElectricalSeries{insertion_number}"].timestamps
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dandi
2+
neo==0.10.2
23
nwb-conversion-tools==0.11.1
34
spikeinterface==0.93.0
4-
neo==0.10.2

element_array_ephys/readers/kilosort.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def extract_spike_depths(self):
169169
spk_feature_ycoord = ycoords[spk_feature_ind]
170170
# center of mass is sum(coords.*features)/sum(features)
171171
self._data["spike_depths"] = np.sum(
172-
spk_feature_ycoord * pc_features ** 2, axis=1
173-
) / np.sum(pc_features ** 2, axis=1)
172+
spk_feature_ycoord * pc_features**2, axis=1
173+
) / np.sum(pc_features**2, axis=1)
174174
else:
175175
self._data["spike_depths"] = None
176176

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
datajoint>=0.13
2-
pyopenephys @ git+https://github.com/datajoint-company/pyopenephys.git
3-
openpyxl
4-
pynwb>=2.0.0
52
element-interface @ git+https://github.com/datajoint/element-interface.git
3+
openpyxl
64
plotly
5+
pynwb>=2.0.0
6+
pyopenephys @ git+https://github.com/datajoint-company/pyopenephys.git
77
seaborn

0 commit comments

Comments
 (0)