Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
ce14098
bugfix
sidhulyalkar Feb 3, 2023
7c836f1
change si related table names
sidhulyalkar Feb 3, 2023
dd63664
bugfix
sidhulyalkar Feb 3, 2023
54888ed
update initial comment
sidhulyalkar Feb 4, 2023
50a4f6c
Merge branch 'datajoint:main' into modular_spikeinterface
sidhulyalkar Feb 4, 2023
f804233
fix preprocessing file loading issues
sidhulyalkar Feb 9, 2023
8e1b73d
set file saving and file loading to pickle format
sidhulyalkar Feb 9, 2023
7520735
Merge branch 'modular_spikeinterface' of https://github.com/sidhulyal…
sidhulyalkar Feb 9, 2023
f0b7497
sglx preprocessing modifications
sidhulyalkar Feb 11, 2023
13fe31c
sglx testing progress
sidhulyalkar Feb 13, 2023
d41c7f3
wip parametrize preprocessing
sidhulyalkar Feb 15, 2023
109a71a
post processing waveform extractor extensions
sidhulyalkar Feb 18, 2023
1febd7e
post processing waveform extractor extensions
sidhulyalkar Feb 18, 2023
a478e06
Fix data loading bug related to cluster_groups and KSLabel df key
sidhulyalkar Feb 20, 2023
634761d
waveform extraction wip
sidhulyalkar Feb 22, 2023
ff0dfee
modification to handle spike interface waveforms
sidhulyalkar Feb 23, 2023
cb31229
adjust post processing
sidhulyalkar Feb 23, 2023
6098421
bugfix in postprocessing definition
sidhulyalkar Mar 6, 2023
6006464
add SI ibl destriping and catGT implementations
sidhulyalkar Mar 8, 2023
c050875
remove preprocess params list
sidhulyalkar Mar 8, 2023
4ea56c0
preprocessing changes
sidhulyalkar Mar 8, 2023
1e74457
Merge branch 'datajoint:main' into modular_spikeinterface
sidhulyalkar May 15, 2023
0a87579
Update requirements.txt
sidhulyalkar May 15, 2023
fb71cea
Merge branch 'datajoint:main' into modular_spikeinterface
sidhulyalkar Jun 13, 2023
22f1f65
fix spikeglx stream loading
sidhulyalkar Jun 14, 2023
5a0f624
Merge branch 'modular_spikeinterface' of https://github.com/sidhulyal…
JaerongA Aug 3, 2023
1a46369
Merge branch 'datajoint:main' into si
JaerongA Oct 10, 2023
b62f162
build: :pushpin: update requirements.txt & add env,.yml
JaerongA Oct 11, 2023
849b576
refactor: :art: clean up spikeinterface import & remove unused import
JaerongA Oct 11, 2023
7836a8b
modify key_source in PreProcessing
JaerongA Oct 13, 2023
6bee166
feat: :sparkles: improve to_probeinterface
JaerongA Dec 14, 2023
9ae6b44
create preprocessing.py
JaerongA Dec 15, 2023
9d5eee6
add SI_SORTERS , SI_READERS
JaerongA Dec 15, 2023
1fceb90
feat: :art: si_clustering.PreProcessing
JaerongA Dec 15, 2023
df8ed74
feat: :art: si_clustering.SIClustering
JaerongA Dec 20, 2023
2ed337b
feat: :sparkles: add PostProcessing table & clean up
JaerongA Dec 20, 2023
f6e3e46
fix: :bug: fix input/output data directory
JaerongA Jan 3, 2024
e1c0d68
check for presence of recording file
JaerongA Jan 3, 2024
653e7e8
fix: :bug: fix path & typo
JaerongA Jan 3, 2024
8c25bd2
code review
ttngu207 Jan 5, 2024
1084aae
Merge pull request #4 from ttngu207/spike-interface-patch-1
JaerongA Jan 5, 2024
fd5e9fa
Minor fixes
kushalbakshi Jan 10, 2024
90d1ba4
feat: :sparkles: modify QualityMetrics make function
JaerongA Feb 1, 2024
cacefac
update si_spike_sorting.PreProcessing make function
JaerongA Feb 6, 2024
f98e1ed
update SIClustering make function
JaerongA Feb 7, 2024
7a060ef
update PostProcessing make function
JaerongA Feb 7, 2024
6daf0c5
feat: :sparkles: add n.a. to ClusterQualityLabel
JaerongA Feb 7, 2024
e41ff1d
extract all waveforms
JaerongA Feb 7, 2024
e8d9854
feat: :sparkles: modify CuratedClustering make function for spike int…
JaerongA Feb 8, 2024
00b82f8
refactor: :recycle: import si module & re-organize imports
JaerongA Feb 8, 2024
b01c36c
update WaveformSet ingestion
JaerongA Feb 12, 2024
853b66f
Update element_array_ephys/ephys_no_curation.py
JaerongA Feb 13, 2024
67ebf4e
Update element_array_ephys/ephys_no_curation.py
JaerongA Feb 13, 2024
5fe6043
Update element_array_ephys/ephys_no_curation.py
JaerongA Feb 13, 2024
ac08163
ci: run test only on the main branch
JaerongA Feb 13, 2024
545aa92
Merge remote-tracking branch 'upstream/datajoint-spikeinterface' into…
JaerongA Feb 13, 2024
e95331c
build: :heavy_plus_sign: add spikingcircus dependencies
JaerongA Feb 13, 2024
be5135e
refactor: fix typo & black formatting
JaerongA Feb 13, 2024
4b6fc0e
feat: :sparkles: add EphysRecording.Channel part table
JaerongA Feb 15, 2024
4802511
fix: :bug: fix get_logger missing error
JaerongA Feb 16, 2024
bca67b3
fix typo & remove sorter_name
JaerongA Feb 16, 2024
1faa8f2
feat: :sparkles: add memoized_result implementation in SIClustering
JaerongA Feb 16, 2024
58f3a44
create a folder for storing recording pickle object
JaerongA Feb 16, 2024
4fcea51
install element_interface from datajoint upstream
JaerongA Feb 16, 2024
4f0e020
add required_key for parameters
JaerongA Feb 16, 2024
83e7a16
set recording channel info
JaerongA Feb 16, 2024
1d18a39
fix loading preprocessor
JaerongA Feb 16, 2024
b0a863f
make all output dir non-sharable
JaerongA Feb 16, 2024
7d28351
refactor & accept changes from code review
JaerongA Feb 19, 2024
95f5286
remove memoized_result for testing
JaerongA Feb 19, 2024
a7ebb9a
build: :heavy_plus_sign: add element-interface to required packages
JaerongA Feb 20, 2024
134ff54
update pre-commit with the latest hooks
JaerongA Feb 21, 2024
7972426
build: :heavy_plus_sign: Add numba as required package
JaerongA Feb 27, 2024
ed11526
adjust extract_waveforms parameters
JaerongA Feb 27, 2024
bab86b7
refactor: :recycle: update the output dir for CuratedClustering
JaerongA Feb 29, 2024
0898ce5
feat: :sparkles: add quality label mapping
JaerongA Feb 29, 2024
727af24
feat: :sparkles: Ingest EphysRecording.Channel
JaerongA Mar 1, 2024
1df41ea
get channel to electrode mapping in CuratedClustering
JaerongA Mar 1, 2024
417219f
refactor: :recycle: Fix metrics directory in QualityMetrics
JaerongA Mar 1, 2024
f70ae4e
feat: :sparkles: replace get_neuropixels_channel2electrode_map with c…
JaerongA Mar 1, 2024
0ccbec9
fix CuratedClustering make function
JaerongA Mar 1, 2024
86bb8d7
improve try except logic
JaerongA Mar 1, 2024
673faed
docs: :memo: update comments in ephys_no_curation
JaerongA Mar 1, 2024
8ab4c58
refactor: :recycle: improve if else block in EphysRecording
JaerongA Mar 1, 2024
226142b
feat: :sparkles: Update WaveformSet make function
JaerongA Mar 1, 2024
ea39839
refactor: :fire: remove & get_neuropixels_channel2electrode_map and g…
JaerongA Mar 5, 2024
5bfe201
Update element_array_ephys/ephys_no_curation.py
JaerongA Mar 5, 2024
1d80584
add generate_electrode_config_name
JaerongA Mar 5, 2024
88ce139
refactor: :recycle: change sorter_name
JaerongA Mar 7, 2024
7eaefa4
address review comments for generate_electrode_config_entry
JaerongA Mar 8, 2024
90b81e3
Merge pull request #179 from JaerongA/datajoint-spikeinterface
Mar 8, 2024
d47be56
refactor: :art: refactor PostProcessing
JaerongA Mar 11, 2024
8dfc858
chore: :art: run docker if the package is not built into spikeinterface
JaerongA Mar 11, 2024
6e20a11
refactor: :recycle: clean up import & docstring
JaerongA Mar 11, 2024
8d04e10
revert: :art: replace SI_READERS with si_extractor
JaerongA Mar 11, 2024
37a35d3
Merge branch 'datajoint:datajoint-spikeinterface' into datajoint-spik…
JaerongA Mar 12, 2024
bb39194
fix acq_software name
JaerongA Mar 12, 2024
528fcf9
Merge branch 'datajoint-spikeinterface' of https://github.com/Jaerong…
JaerongA Mar 12, 2024
01ff816
feat: :ambulance: make all secondary attributes nullable in QualityMe…
JaerongA Mar 12, 2024
cd65539
Merge pull request #184 from JaerongA/datajoint-spikeinterface
Mar 12, 2024
aff15bf
Merge remote-tracking branch 'upstream/datajoint-spikeinterface' into…
ttngu207 Apr 4, 2024
67a1ffc
feat: save spike interface results with relative path
ttngu207 Apr 17, 2024
41e4d6d
Merge branch 'datajoint:main' into main
kushalbakshi Apr 18, 2024
d44dbaa
fix(spikeglx): bugfix loading spikeglx data
ttngu207 Apr 26, 2024
1819cbc
Merge remote-tracking branch 'upstream/datajoint-spikeinterface' into…
ttngu207 Apr 26, 2024
d86928b
fix: bugfix inserting `ElectrodeConfig`
ttngu207 Apr 26, 2024
6a6e7b7
Merge pull request #186 from ttngu207/datajoint-spikeinterface
MilagrosMarin Apr 26, 2024
f8ffd77
feat(spikesorting): save to phy and generate report
ttngu207 Apr 3, 2024
7309082
chore: cleanup init
ttngu207 Apr 26, 2024
d778b1e
fix: update channel-electrode mapping
ttngu207 Apr 26, 2024
015341c
feat: test spikeinterface for spikeglx data
ttngu207 Apr 26, 2024
05ccfdb
fix: update ingestion from spikeinterface results
ttngu207 Apr 29, 2024
c819d19
Merge pull request #187 from ttngu207/datajoint-spikeinterface
MilagrosMarin Apr 29, 2024
93895a9
Refactor Quality Metrics Logic + blackformatting
MilagrosMarin May 7, 2024
bd3bb8e
Update si_spike_sorting.py
ttngu207 May 8, 2024
c8882c6
Merge branch 'datajoint-spikeinterface' of https://github.com/datajoi…
ttngu207 May 8, 2024
403d1df
update `postprocessing` logic
MilagrosMarin May 9, 2024
bdf2b9f
Merge remote-tracking branch 'upstream/datajoint-spikeinterface' into…
ttngu207 May 14, 2024
c934e67
feat: prototyping with the new `sorting_analyzer`
ttngu207 May 24, 2024
3666cda
feat: update ingestion to be compatible with spikeinterface 0.101+
ttngu207 May 24, 2024
06a3f70
format: black formatting
ttngu207 May 24, 2024
07a09f6
chore: code clean up
ttngu207 May 24, 2024
3fcf542
update: update requirements to install `SpikeInterface` from github (…
ttngu207 May 24, 2024
76dfc94
fix: minor bug in spikes ingestion
ttngu207 May 28, 2024
9094754
update: bump version
ttngu207 May 28, 2024
51e2ced
feat: add `memoized_result` on spike sorting
ttngu207 May 28, 2024
2a4b166
Merge pull request #190 from ttngu207/dev_spikeinterface_v101
MilagrosMarin May 28, 2024
0afb452
chore: minor code cleanup
ttngu207 May 28, 2024
e8f445c
fix: merge fix & formatting
ttngu207 May 28, 2024
6155f13
fix: calling `_run_sorter()`
ttngu207 May 28, 2024
f6a52d9
chore: more robust channel mapping
ttngu207 May 29, 2024
92547d7
Merge pull request #191 from ttngu207/dev_spikeinterface_v101
ttngu207 May 29, 2024
1ff92dd
fix: use relative path for phy output
ttngu207 May 29, 2024
b459709
feat: in data ingestion, set peak_sign="both"
ttngu207 May 29, 2024
e497a15
Merge pull request #192 from ttngu207/dev_spikeinterface_v101
MilagrosMarin May 29, 2024
1a1b18f
feat: replace `output_folder` with `folder` when calling `run_sorter`…
ttngu207 Jun 3, 2024
212a54f
Merge pull request #193 from ttngu207/dev_spikeinterface_v101
kushalbakshi Jun 4, 2024
4e645eb
fix: remove `job_kwargs` for sparsity calculation - memory error in l…
ttngu207 Jun 5, 2024
82d73c9
Merge pull request #194 from ttngu207/dev_spikeinterface_v101
ttngu207 Jun 5, 2024
38fdfb2
feat: separate `export` (phy and report) into a separate table
ttngu207 Jul 5, 2024
a4a8380
fix: export default to `False`
ttngu207 Jul 5, 2024
5a31632
Merge pull request #195 from ttngu207/dev_spikeinterface_v101
ttngu207 Jul 5, 2024
1f05998
fix: `spikes` object no longer available from `ComputeSpikeLocations`…
ttngu207 Jul 5, 2024
a22561a
Merge pull request #196 from ttngu207/datajoint-spikeinterface
ttngu207 Jul 5, 2024
7cd8ac8
chore: code cleanup
ttngu207 Jul 6, 2024
c87e493
fix: recording_extractor_full_dict is deprecated (https://github.com/…
ttngu207 Jul 6, 2024
dcfd880
Merge pull request #197 from ttngu207/datajoint-spikeinterface
ttngu207 Jul 6, 2024
097d9bb
fix: bugfix spikeinterface extractor name
ttngu207 Jul 30, 2024
6aca235
Merge remote-tracking branch 'upstream/datajoint-spikeinterface' into…
ttngu207 Aug 15, 2024
b6f131b
update: element-interface `main` branch
ttngu207 Aug 15, 2024
84c38d1
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Aug 15, 2024
6b14486
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Aug 15, 2024
c2f2a79
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Aug 15, 2024
726a2bb
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Aug 15, 2024
5dc5953
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Aug 16, 2024
b510cb8
Merge pull request #200 from ttngu207/datajoint-spikeinterface
kushalbakshi Aug 19, 2024
ccd23fc
rearrange(all): major refactor of modules
ttngu207 Sep 10, 2024
0eef1cb
rearrange: remove the `ecephys_spike_sorting` flow
ttngu207 Sep 10, 2024
c2bd5ad
chore: clean up diagrams
ttngu207 Sep 10, 2024
4971108
fix: use tempfile.TemporaryDirectory
ttngu207 Sep 19, 2024
a975353
Merge remote-tracking branch 'upstream/main' into dev_new_main
ttngu207 Sep 19, 2024
63df4cd
format: black
ttngu207 Sep 19, 2024
2d57102
fix(spikeglx): minor bugfix in reading probe model
ttngu207 Sep 19, 2024
780352b
Merge pull request #202 from ttngu207/main
kushalbakshi Sep 20, 2024
3ab94dd
Merge branch 'main' into datajoint-spikeinterface
ttngu207 Sep 20, 2024
dc8bac1
Merge branch 'main' into dev_new_main
ttngu207 Sep 20, 2024
9056db8
Merge branch 'main' of https://github.com/datajoint/element-array-ephys
kushalbakshi Sep 20, 2024
de49729
Merge branch 'dev_new_main' of https://github.com/ttngu207/element-ar…
kushalbakshi Sep 20, 2024
800d060
Update docs for new ephys release
kushalbakshi Sep 20, 2024
fc8ac1d
chore(.github): add new GitHub Action callers for devcontainer, mkdoc…
MilagrosMarin Sep 26, 2024
d091ffc
Merge pull request #205 from MilagrosMarin/chore/update-gha
drewyangdev Sep 26, 2024
6bad001
0.3.6
Oct 1, 2024
463ec52
feat(spike_sorting): handle cases when no units/spikes are found
ttngu207 Oct 8, 2024
451571d
feat(spike_sorting): update downstream ephys tables ingestion when NO…
ttngu207 Oct 8, 2024
b1104ce
fix(spike_sorting): create empty `sorting_analyzer` folder when no un…
ttngu207 Oct 9, 2024
bb27fd0
Merge branch 'datajoint-spikeinterface' into dev_new_main
ttngu207 Oct 10, 2024
40dc3c0
Merge pull request #13 from kushalbakshi/dev_new-main-docs
ttngu207 Oct 25, 2024
0302575
Merge branch 'main' of https://github.com/datajoint/element-array-ephys
kushalbakshi Nov 1, 2024
a3f353a
Fix(spikeglx): robust IMAX value detection from IMEC file
kushalbakshi Nov 1, 2024
3e401f1
Remove merge conflict-resolution change
kushalbakshi Nov 1, 2024
4f70469
Update CHANGELOG.md
kushalbakshi Nov 1, 2024
626327c
Merge pull request #210 from kushalbakshi/main
ttngu207 Nov 4, 2024
7128acc
Merge remote-tracking branch 'upstream/main' into dev_new_main
ttngu207 Jan 13, 2025
0508c94
update: fix docs, new version is `0.4.0`
ttngu207 Jan 13, 2025
284106a
update: make this the `1.0.0` release
ttngu207 Jan 14, 2025
7c3f0ef
chore: revert semantic release and changelog
MilagrosMarin Jan 16, 2025
0fcb8c0
chore: typo
MilagrosMarin Jan 16, 2025
77d001d
fix: update changelog and semantic release
MilagrosMarin Jan 16, 2025
02476bb
Merge pull request #211 from MilagrosMarin/chore/update-gha
ttngu207 Jan 24, 2025
0f51791
Merge remote-tracking branch 'upstream/main' into dev_new_main
ttngu207 Jan 24, 2025
e4d959d
update: version 0.4.0
ttngu207 Jan 24, 2025
d4e08ee
fix: fix release titles in Changelog
MilagrosMarin Jan 28, 2025
89e4d68
Merge pull request #212 from MilagrosMarin/chore/update-gha
ttngu207 Jan 28, 2025
20770f1
Merge branch 'main' into dev_new_main
ttngu207 Jan 28, 2025
7dee019
update: version 0.4.0
ttngu207 Jan 28, 2025
ba25812
style: black format
ttngu207 Jan 28, 2025
0ee86d2
update(GHA): remove old python versions
ttngu207 Jan 28, 2025
d2492ee
Merge pull request #201 from ttngu207/dev_new_main
kushalbakshi Jan 28, 2025
682ed17
fix(ephys): skip_duplicates in Probe.insert - allow probe reuse
ttngu207 Feb 13, 2025
4c0bfc9
update: version + changelog
ttngu207 Feb 13, 2025
5c04d20
Merge pull request #213 from ttngu207/main
kushalbakshi Feb 14, 2025
ceeceee
fix: update element's test flow
MilagrosMarin Feb 14, 2025
b4f0e23
black formatting
MilagrosMarin Feb 14, 2025
ebfdba0
black formatting
MilagrosMarin Feb 14, 2025
3761c61
Merge pull request #214 from MilagrosMarin/main
drewyangdev Feb 14, 2025
a0df46b
update: install neo from source until 0.14.1 release
ttngu207 Mar 4, 2025
2454b96
fix: add key_source to `ProbeLevelReport` to filter for 'good' qualit…
MilagrosMarin Mar 18, 2025
a1bc2cf
bump version and update changelog
MilagrosMarin Mar 18, 2025
4c01ac7
fix: add key_source to `ProbeLevelReport` to filter for 'good' qualit…
MilagrosMarin Mar 18, 2025
80926c8
update: bump version
ttngu207 Mar 25, 2025
b1775af
Merge pull request #217 from ttngu207/main
ttngu207 Apr 21, 2025
58cdfaa
chore: minor code optimization
ttngu207 May 9, 2025
1d4f888
Merge pull request #218 from ttngu207/main
kushalbakshi May 13, 2025
234f38e
fix(docs): update home URL from `datajoint.com/docs` to `docs.datajoi…
MilagrosMarin May 19, 2025
efb91b8
style: apply formatting
MilagrosMarin May 19, 2025
fbf83de
Merge remote-tracking branch 'upstream/main' into update-docs
MilagrosMarin May 20, 2025
3bdf7e7
style: black formatting
MilagrosMarin May 20, 2025
0464fe2
Merge pull request #220 from MilagrosMarin/update-docs
ttngu207 May 20, 2025
e00ebef
Update: Use `Spikeinterface` official released versions (instead of i…
ttngu207 Jun 4, 2025
e4841ae
Merge pull request #221 from ttngu207/main
MilagrosMarin Jun 4, 2025
aa6f45d
Moved KiloSort's template_features to additional_files
tabedzki Jun 4, 2025
19ae04f
Update version.py
tabedzki Jun 4, 2025
297e261
Merge pull request #222 from tabedzki/patch-kilosort-files
ttngu207 Jun 4, 2025
3b187cb
update: update params in test/tutorials
ttngu207 Jun 6, 2025
fd837ec
chore: update changelog
ttngu207 Jun 6, 2025
9391f97
chore: set up jupyter kernel in devcontainer
ttngu207 Jun 6, 2025
9d03efb
chore: update dockerfile
ttngu207 Jun 6, 2025
6fbf5d4
fix: fix devcontainer
ttngu207 Jun 6, 2025
f61416b
Update setup.py - supports python3.11
ttngu207 Jun 9, 2025
1cd35a9
fix: jupyter kernel
ttngu207 Jun 9, 2025
e2c03ba
fix: jupyter kernel
ttngu207 Jun 9, 2025
bac296b
chore: update si params in notebook
ttngu207 Jun 9, 2025
d5eb76f
chore: minor bugfix
ttngu207 Jun 9, 2025
44548d3
Merge pull request #223 from ttngu207/main
dimitri-yatsenko Jun 11, 2025
c5a2285
update notebook with spectrogram plot
MilagrosMarin Jul 8, 2025
15874d0
remove `skip_duplicates`
MilagrosMarin Jul 8, 2025
776aa93
Merge pull request #224 from MilagrosMarin/main
ttngu207 Jul 8, 2025
c395bd0
black formatting
MilagrosMarin Sep 16, 2025
f0939d1
fix: rename `env.yml` to `conda_env.yml` for consistency with other p…
MilagrosMarin Sep 16, 2025
db99d0d
bump version and update CHANGELOG
MilagrosMarin Sep 16, 2025
7dc76e8
Merge pull request #225 from MilagrosMarin/main
ttngu207 Sep 17, 2025
0e5295c
Merge remote-tracking branch 'upstream/main'
ttngu207 Dec 5, 2025
ecd0cad
feat: use three-part-make for `EphysRecording` table
ttngu207 Dec 5, 2025
3eba39c
fix: update probe model assignment in SpikeGLXMeta class
ttngu207 Dec 5, 2025
aaa6e1a
Merge branch 'main_external-storage' of https://github.com/dj-sciops/…
ttngu207 Dec 5, 2025
9b51b74
templates_ind, whitening_mat, whitening_mat_inv in "_kilosort_additio…
ttngu207 Dec 10, 2025
fa6180a
Merge pull request #227 from dj-sciops/main
esutlie Dec 10, 2025
676c700
Merge pull request #228 from datajoint/fix_kilosort_core_files
esutlie Dec 10, 2025
12985af
version bump to 0.4.6
ttngu207 Dec 10, 2025
c4fafcd
Merge pull request #229 from datajoint/dev_version_bump_0.4.6
esutlie Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
ARG PY_VER=3.11
ARG DISTRO=bullseye
FROM mcr.microsoft.com/devcontainers/python:${PY_VER}-${DISTRO}

ENV PATH /usr/local/bin:$PATH
ENV PYTHON_VERSION 3.9.17
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive

USER root

RUN \
adduser --system --disabled-password --shell /bin/bash vscode && \
# install docker
apt-get update && \
apt-get install ca-certificates curl gnupg lsb-release -y && \
Expand Down Expand Up @@ -45,4 +48,5 @@ ENV EPHYS_ROOT_DATA_DIR /workspaces/element-array-ephys/example_data
ENV DATABASE_PREFIX neuro_

USER vscode
CMD bash -c "sudo rm /var/run/docker.pid; sudo dockerd"

CMD bash -c "sudo rm /var/run/docker.pid; sudo dockerd"
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"vscode": {
"extensions": [
"ms-python.python@2023.8.0",
"ms-toolsai.jupyter@2023.3.1201040234"
"ms-python.python@2025.6.1",
"ms-toolsai.jupyter@2025.4.1"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: DataJoint Contribution Guideline
url: https://docs.datajoint.org/python/community/02-Contribute.html
url: https://docs.datajoint.com/about/contribute/
about: Please make sure to review the DataJoint Contribution Guidelines
10 changes: 10 additions & 0 deletions .github/workflows/devcontainer-build-publish-caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: devcontainer_build_publish
on:
workflow_dispatch:

jobs:
call_devcontainer_build_publish:
uses: datajoint/.github/.github/workflows/devcontainer-build-publish.yaml@main
secrets:
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
DOCKERHUB_TOKEN: ${{secrets.DOCKERHUB_TOKEN_FOR_ELEMENTS}}
9 changes: 9 additions & 0 deletions .github/workflows/mkdocs-release-caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: mkdocs-release
on:
workflow_dispatch:

jobs:
mkdocs_release:
uses: datajoint/.github/.github/workflows/mkdocs_release.yaml@main
permissions:
contents: write
10 changes: 10 additions & 0 deletions .github/workflows/semantic-release-caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: semantic-release
on:
workflow_dispatch:

jobs:
call_semantic_release:
uses: datajoint/.github/.github/workflows/semantic-release.yaml@main
secrets:
APP_ID: ${{ secrets.ELEMENT_APP_ID }}
GET_TOKEN_KEY: ${{ secrets.ELEMENT_GET_TOKEN_KEY }}
15 changes: 6 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
devcontainer-build:
uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
tests:
runs-on: ubuntu-latest
strategy:
matrix:
py_ver: ["3.9", "3.10"]
mysql_ver: ["8.0", "5.7"]
include:
- py_ver: "3.8"
mysql_ver: "5.7"
- py_ver: "3.7"
mysql_ver: "5.7"
mysql_ver: ["8.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.py_ver}}
Expand All @@ -31,4 +28,4 @@ jobs:
run: |
python_version=${{matrix.py_ver}}
black element_array_ephys --check --verbose --target-version py${python_version//.}

black notebooks --check --verbose --target-version py${python_version//.}
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ exclude: (^.github/|^docs/|^images/)

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -16,7 +16,7 @@ repos:

# black
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 24.2.0
hooks:
- id: black
- id: black-jupyter
Expand All @@ -25,15 +25,15 @@ repos:

# isort
- repo: https://github.com/pycqa/isort
rev: 5.11.2
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
description: Sorts imports in an alphabetical order

# flake8
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 7.0.0
hooks:
- id: flake8
args: # arguments to configure flake8
Expand Down
Loading