ndx-guppy 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ndx_guppy-0.1.0/.gitignore +173 -0
- ndx_guppy-0.1.0/.pre-commit-config.yaml +12 -0
- ndx_guppy-0.1.0/CHANGELOG.md +19 -0
- ndx_guppy-0.1.0/LICENSE.txt +29 -0
- ndx_guppy-0.1.0/NEXTSTEPS.md +180 -0
- ndx_guppy-0.1.0/PKG-INFO +347 -0
- ndx_guppy-0.1.0/README.md +321 -0
- ndx_guppy-0.1.0/docs/Makefile +179 -0
- ndx_guppy-0.1.0/docs/README.md +121 -0
- ndx_guppy-0.1.0/docs/make.bat +35 -0
- ndx_guppy-0.1.0/docs/object_accounting.md +175 -0
- ndx_guppy-0.1.0/docs/source/_static/theme_overrides.css +13 -0
- ndx_guppy-0.1.0/docs/source/conf.py +111 -0
- ndx_guppy-0.1.0/docs/source/conf_doc_autogen.py +93 -0
- ndx_guppy-0.1.0/docs/source/credits.rst +21 -0
- ndx_guppy-0.1.0/docs/source/description.rst +5 -0
- ndx_guppy-0.1.0/docs/source/format.rst +12 -0
- ndx_guppy-0.1.0/docs/source/index.rst +30 -0
- ndx_guppy-0.1.0/docs/source/release_notes.rst +5 -0
- ndx_guppy-0.1.0/pyproject.toml +133 -0
- ndx_guppy-0.1.0/spec/ndx-guppy.extensions.yaml +637 -0
- ndx_guppy-0.1.0/spec/ndx-guppy.namespace.yaml +12 -0
- ndx_guppy-0.1.0/src/pynwb/README.md +0 -0
- ndx_guppy-0.1.0/src/pynwb/ndx_guppy/__init__.py +51 -0
- ndx_guppy-0.1.0/src/pynwb/tests/__init__.py +0 -0
- ndx_guppy-0.1.0/src/pynwb/tests/integration/__init__.py +0 -0
- ndx_guppy-0.1.0/src/pynwb/tests/integration/test_readme.py +24 -0
- ndx_guppy-0.1.0/src/pynwb/tests/test_ndx_guppy.py +502 -0
- ndx_guppy-0.1.0/src/spec/create_extension_spec.py +774 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# output NWB files
|
|
2
|
+
*.nwb
|
|
3
|
+
|
|
4
|
+
# generated docs
|
|
5
|
+
docs/source/_format_auto_docs
|
|
6
|
+
|
|
7
|
+
# Byte-compiled / optimized / DLL files
|
|
8
|
+
__pycache__/
|
|
9
|
+
*.py[cod]
|
|
10
|
+
*$py.class
|
|
11
|
+
|
|
12
|
+
# C extensions
|
|
13
|
+
*.so
|
|
14
|
+
|
|
15
|
+
# Distribution / packaging
|
|
16
|
+
.Python
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
downloads/
|
|
21
|
+
eggs/
|
|
22
|
+
.eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
wheels/
|
|
29
|
+
share/python-wheels/
|
|
30
|
+
*.egg-info/
|
|
31
|
+
.installed.cfg
|
|
32
|
+
*.egg
|
|
33
|
+
MANIFEST
|
|
34
|
+
|
|
35
|
+
# PyInstaller
|
|
36
|
+
# Usually these files are written by a python script from a template
|
|
37
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
38
|
+
*.manifest
|
|
39
|
+
*.spec
|
|
40
|
+
|
|
41
|
+
# Installer logs
|
|
42
|
+
pip-log.txt
|
|
43
|
+
pip-delete-this-directory.txt
|
|
44
|
+
|
|
45
|
+
# Unit test / coverage reports
|
|
46
|
+
htmlcov/
|
|
47
|
+
.tox/
|
|
48
|
+
.nox/
|
|
49
|
+
.coverage
|
|
50
|
+
.coverage.*
|
|
51
|
+
.cache
|
|
52
|
+
nosetests.xml
|
|
53
|
+
coverage.xml
|
|
54
|
+
*.cover
|
|
55
|
+
*.py,cover
|
|
56
|
+
.hypothesis/
|
|
57
|
+
.pytest_cache/
|
|
58
|
+
cover/
|
|
59
|
+
.ruff_cache/
|
|
60
|
+
|
|
61
|
+
# Translations
|
|
62
|
+
*.mo
|
|
63
|
+
*.pot
|
|
64
|
+
|
|
65
|
+
# Django stuff:
|
|
66
|
+
*.log
|
|
67
|
+
local_settings.py
|
|
68
|
+
db.sqlite3
|
|
69
|
+
db.sqlite3-journal
|
|
70
|
+
|
|
71
|
+
# Flask stuff:
|
|
72
|
+
instance/
|
|
73
|
+
.webassets-cache
|
|
74
|
+
|
|
75
|
+
# Scrapy stuff:
|
|
76
|
+
.scrapy
|
|
77
|
+
|
|
78
|
+
# Sphinx documentation
|
|
79
|
+
docs/_build/
|
|
80
|
+
|
|
81
|
+
# PyBuilder
|
|
82
|
+
.pybuilder/
|
|
83
|
+
target/
|
|
84
|
+
|
|
85
|
+
# Jupyter Notebook
|
|
86
|
+
.ipynb_checkpoints
|
|
87
|
+
|
|
88
|
+
# IPython
|
|
89
|
+
profile_default/
|
|
90
|
+
ipython_config.py
|
|
91
|
+
|
|
92
|
+
# pyenv
|
|
93
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
94
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
95
|
+
# .python-version
|
|
96
|
+
|
|
97
|
+
# pipenv
|
|
98
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
99
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
100
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
101
|
+
# install all needed dependencies.
|
|
102
|
+
#Pipfile.lock
|
|
103
|
+
|
|
104
|
+
# poetry
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
106
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
107
|
+
# commonly ignored for libraries.
|
|
108
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
109
|
+
#poetry.lock
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
#pdm.lock
|
|
114
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
115
|
+
# in version control.
|
|
116
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
117
|
+
.pdm.toml
|
|
118
|
+
|
|
119
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
120
|
+
__pypackages__/
|
|
121
|
+
|
|
122
|
+
# Celery stuff
|
|
123
|
+
celerybeat-schedule
|
|
124
|
+
celerybeat.pid
|
|
125
|
+
|
|
126
|
+
# SageMath parsed files
|
|
127
|
+
*.sage.py
|
|
128
|
+
|
|
129
|
+
# Environments
|
|
130
|
+
.env
|
|
131
|
+
.venv
|
|
132
|
+
env/
|
|
133
|
+
venv/
|
|
134
|
+
ENV/
|
|
135
|
+
env.bak/
|
|
136
|
+
venv.bak/
|
|
137
|
+
|
|
138
|
+
# Spyder project settings
|
|
139
|
+
.spyderproject
|
|
140
|
+
.spyproject
|
|
141
|
+
|
|
142
|
+
# Rope project settings
|
|
143
|
+
.ropeproject
|
|
144
|
+
|
|
145
|
+
# mkdocs documentation
|
|
146
|
+
/site
|
|
147
|
+
|
|
148
|
+
# mypy
|
|
149
|
+
.mypy_cache/
|
|
150
|
+
.dmypy.json
|
|
151
|
+
dmypy.json
|
|
152
|
+
|
|
153
|
+
# Pyre type checker
|
|
154
|
+
.pyre/
|
|
155
|
+
|
|
156
|
+
# pytype static type analyzer
|
|
157
|
+
.pytype/
|
|
158
|
+
|
|
159
|
+
# Cython debug symbols
|
|
160
|
+
cython_debug/
|
|
161
|
+
|
|
162
|
+
# PyCharm
|
|
163
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
164
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
165
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
166
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
167
|
+
#.idea/
|
|
168
|
+
|
|
169
|
+
# Mac finder
|
|
170
|
+
.DS_Store
|
|
171
|
+
|
|
172
|
+
# VS Code
|
|
173
|
+
.vscode/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog for ndx-guppy
|
|
2
|
+
|
|
3
|
+
# v0.1.0 (Upcoming)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
Initial release of 10 new neurodata types representing the derived outputs of the GuPPy fiber-photometry tool (one NWB file per session):
|
|
7
|
+
* `GuppyParameters` extends `LabMetaData` to hold the session-level GuPPy processing parameters.
|
|
8
|
+
* `GuppyRecordingSitesTable` extends `DynamicTable` as the canonical registry of recording sites (one row per site, e.g. `dms`) that the derived products reference.
|
|
9
|
+
* `GuppyEventsTable` extends `DynamicTable` as the registry of behavioral events GuPPy aligned to, with an optional ragged `DynamicTableRegion` into a merged core `EventsTable`.
|
|
10
|
+
* `GuppyValidSignalIntervals` extends `TimeIntervals` to hold the valid (artifact-free) signal intervals per recording site.
|
|
11
|
+
* `GuppyDerivedResponseSeries` extends `FiberPhotometryResponseSeries` to hold a derived trace (`control_fit`/`dff`/`z_score`), stamped with its `trace_type` and referencing its recording site.
|
|
12
|
+
* `GuppyTransientsTable` extends `DynamicTable` to hold the detected transients.
|
|
13
|
+
* `GuppyTransientSummaryTable` extends `DynamicTable` to hold per-condition transient summary statistics.
|
|
14
|
+
* `GuppyPSTH` holds the peri-event PSTH for one (recording_site, trace_type, baseline) condition, concatenated across events.
|
|
15
|
+
* `GuppyCrossCorrelation` holds the cross-correlation between a recording-site pair for one trace_type, concatenated across events.
|
|
16
|
+
* `GuppyPeakAUC` holds the peak and area-under-the-curve metrics for one (recording_site, trace_type) condition, concatenated across events.
|
|
17
|
+
|
|
18
|
+
### Fixes
|
|
19
|
+
* Fixed the ruff and Sphinx CI jobs (import ordering and doc-autogen namespace registration; no schema changes) [PR #1](https://github.com/catalystneuro/ndx-guppy/pull/1).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Paul Adkisson-Floro
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Next Steps for ndx-guppy Extension for NWB
|
|
4
|
+
|
|
5
|
+
## Creating Your Extension
|
|
6
|
+
|
|
7
|
+
1. In a terminal, change directory into the new ndx-guppy directory: `cd ndx-guppy`
|
|
8
|
+
|
|
9
|
+
2. Add any packages required by your extension to the `[project] dependencies` or `[project.optional-dependencies]`
|
|
10
|
+
section of `pyproject.toml`.
|
|
11
|
+
|
|
12
|
+
3. Run `python -m pip install -e .` to install your new extension Python package
|
|
13
|
+
and any other packages required to develop, document, and run your extension.
|
|
14
|
+
|
|
15
|
+
4. Modify `src/spec/create_extension_spec.py` to define your extension.
|
|
16
|
+
|
|
17
|
+
5. Run `python src/spec/create_extension_spec.py` to generate the
|
|
18
|
+
`spec/ndx-guppy.namespace.yaml` and
|
|
19
|
+
`spec/ndx-guppy.extensions.yaml` files.
|
|
20
|
+
|
|
21
|
+
6. Define API classes for your new extension data types.
|
|
22
|
+
|
|
23
|
+
- As a starting point, `src/pynwb/ndx_guppy/__init__.py` includes an
|
|
24
|
+
example for how to use
|
|
25
|
+
the `pynwb.get_class` to generate a basic Python class for your new extension data
|
|
26
|
+
type. This class contains a constructor and properties for the new data type.
|
|
27
|
+
- Instead of using `pynwb.get_class`, you can define your own custom class for the
|
|
28
|
+
new type, which will allow you to customize the class methods, customize the
|
|
29
|
+
object mapping, and create convenience functions. See the
|
|
30
|
+
[Extending NWB tutorial](https://pynwb.readthedocs.io/en/stable/tutorials/general/extensions.html)
|
|
31
|
+
for more details.
|
|
32
|
+
|
|
33
|
+
7. Define tests for your new extension data types in
|
|
34
|
+
`src/pynwb/ndx_guppy/tests` or `src/matnwb/tests`.
|
|
35
|
+
A test for the example `TetrodeSeries` data type is provided as a reference and should be
|
|
36
|
+
replaced or removed.
|
|
37
|
+
|
|
38
|
+
- Python tests should be runnable by executing [`pytest`](https://docs.pytest.org/en/latest/)
|
|
39
|
+
from the root of the extension directory. Use of PyNWB testing infrastructure from
|
|
40
|
+
`pynwb.testing` is encouraged (see
|
|
41
|
+
[documentation](https://pynwb.readthedocs.io/en/stable/pynwb.testing.html)).
|
|
42
|
+
- Creating both **unit tests** (e.g., testing initialization of new data type classes and
|
|
43
|
+
new functions) and **integration tests** (e.g., write the new data types to file, read
|
|
44
|
+
the file, and confirm the read data types are equal to the written data types) is
|
|
45
|
+
highly encouraged.
|
|
46
|
+
- By default, to aid with debugging, the project is configured NOT to run code coverage as
|
|
47
|
+
part of the tests.
|
|
48
|
+
Code coverage reporting is useful to help with creation of tests and report test coverage.
|
|
49
|
+
However, with this option enabled, breakpoints for debugging with pdb are being ignored.
|
|
50
|
+
To enable this option for code coverage reporting, uncomment out the following line in
|
|
51
|
+
your `pyproject.toml`: [line](https://github.com/nwb-extensions/ndx-template/blob/11ae225b3fd3934fa3c56e6e7b563081793b3b43/%7B%7B%20cookiecutter.namespace%20%7D%7D/pyproject.toml#L82-L83
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
7. (Optional) Define custom visualization widgets for your new extension data types in
|
|
55
|
+
`src/pynwb/ndx_guppy/widgets` so that the visualizations can be displayed with
|
|
56
|
+
[nwbwidgets](https://github.com/NeurodataWithoutBorders/nwbwidgets).
|
|
57
|
+
You will also need to update the `vis_spec` dictionary in
|
|
58
|
+
`src/pynwb/ndx_guppy/widgets/__init__.py` so that
|
|
59
|
+
nwbwidgets can find your custom visualizations.
|
|
60
|
+
|
|
61
|
+
8. You may need to modify `pyproject.toml` and re-run `python -m pip install -e .` if you
|
|
62
|
+
use any dependencies.
|
|
63
|
+
|
|
64
|
+
9. Update the `CHANGELOG.md` regularly to document changes to your extension.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Documenting and Publishing Your Extension to the Community
|
|
68
|
+
|
|
69
|
+
1. Install the latest release of hdmf_docutils: `python -m pip install hdmf-docutils`
|
|
70
|
+
|
|
71
|
+
2. Start a git repository for your extension directory ndx-guppy
|
|
72
|
+
and push it to GitHub. You will need a GitHub account.
|
|
73
|
+
- Follow these directions:
|
|
74
|
+
https://help.github.com/en/articles/adding-an-existing-project-to-github-using-the-command-line
|
|
75
|
+
|
|
76
|
+
3. Change directory into `docs`.
|
|
77
|
+
|
|
78
|
+
4. Run `make html` to generate documentation for your extension based on the YAML files.
|
|
79
|
+
|
|
80
|
+
5. Read `docs/README.md` for instructions on how to customize documentation for
|
|
81
|
+
your extension.
|
|
82
|
+
|
|
83
|
+
6. Modify `README.md` to describe this extension for interested developers.
|
|
84
|
+
|
|
85
|
+
7. Add a license file. Permissive licenses should be used if possible. **A [BSD license](https://opensource.org/licenses/BSD-3-Clause) is recommended.**
|
|
86
|
+
|
|
87
|
+
8. Update the `CHANGELOG.md` to document changes to your extension.
|
|
88
|
+
|
|
89
|
+
8. Push your repository to GitHub. A default set of GitHub Actions workflows is set up to
|
|
90
|
+
test your code on Linux, Windows, Mac OS, and Linux using conda; upload code coverage
|
|
91
|
+
stats to codecov.io; check for spelling errors; check for style errors; and check for broken
|
|
92
|
+
links in the documentation. For the code coverage workflow to work, you will need to
|
|
93
|
+
set up the repo on codecov.io and uncomment the "Upload coverage to Codecov" step
|
|
94
|
+
in `.github/workflows/run_coverage.yml`.
|
|
95
|
+
|
|
96
|
+
8. Make a release for the extension on GitHub with the version number specified. e.g. if version is 0.1.0, then this page should exist: https://github.com/CatalystNeuro/ndx-guppy/releases/tag/0.1.0 . For instructions on how to make a release on GitHub see [here](https://help.github.com/en/github/administering-a-repository/creating-releases).
|
|
97
|
+
|
|
98
|
+
9. Publish your updated extension on [PyPI](https://pypi.org/).
|
|
99
|
+
- Follow these directions: https://packaging.python.org/en/latest/tutorials/packaging-projects/
|
|
100
|
+
- You may need to modify `pyproject.toml`
|
|
101
|
+
- If your extension version is 0.1.0, then this page should exist: https://pypi.org/project/ndx-guppy/0.1.0
|
|
102
|
+
|
|
103
|
+
Once your GitHub release and `pyproject.toml` are ready, publishing on PyPI:
|
|
104
|
+
```bash
|
|
105
|
+
python -m pip install --upgrade build twine
|
|
106
|
+
python -m build
|
|
107
|
+
twine upload dist/*
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
10. Go to https://github.com/nwb-extensions/staged-extensions and fork the
|
|
111
|
+
repository.
|
|
112
|
+
|
|
113
|
+
11. Clone the fork onto your local filesystem.
|
|
114
|
+
|
|
115
|
+
12. Copy the directory `staged-extensions/example` to a new directory
|
|
116
|
+
`staged-extensions/ndx-guppy`:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
cp -r staged-extensions/example staged-extensions/ndx-guppy
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
13. Edit `staged-extensions/ndx-guppy/ndx-meta.yaml`
|
|
123
|
+
with information on where to find your NWB extension.
|
|
124
|
+
- The YAML file MUST contain a dict with the following keys:
|
|
125
|
+
- name: extension namespace name
|
|
126
|
+
- version: extension version
|
|
127
|
+
- src: URL for the main page of the public repository (e.g. on GitHub, BitBucket, GitLab) that contains the sources of the extension
|
|
128
|
+
- pip: URL for the main page of the extension on PyPI
|
|
129
|
+
- license: name of the license of the extension
|
|
130
|
+
- maintainers: list of GitHub usernames of those who will reliably maintain the extension
|
|
131
|
+
- You may copy and modify the following YAML that was auto-generated:
|
|
132
|
+
|
|
133
|
+
```yaml
|
|
134
|
+
name: ndx-guppy
|
|
135
|
+
version: 0.1.0
|
|
136
|
+
src: https://github.com/CatalystNeuro/ndx-guppy
|
|
137
|
+
pip: https://pypi.org/project/ndx-guppy/
|
|
138
|
+
license: BSD-3-Clause
|
|
139
|
+
maintainers:
|
|
140
|
+
- CatalystNeuro
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
14. Edit `staged-extensions/ndx-guppy/README.md`
|
|
144
|
+
to add information about your extension. You may copy it from
|
|
145
|
+
`ndx-guppy/README.md`.
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
cp ndx-guppy/README.md staged-extensions/ndx-guppy/README.md
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
15. Add and commit your changes to Git and push your changes to GitHub.
|
|
152
|
+
```
|
|
153
|
+
cd staged-extensions
|
|
154
|
+
git add ndx-guppy
|
|
155
|
+
git commit -m "Add new catalog entry for ndx-guppy" .
|
|
156
|
+
git push
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
16. Open a pull request. Building of your extension will be tested on Windows,
|
|
160
|
+
Mac, and Linux. The technical team will review your extension shortly after
|
|
161
|
+
and provide feedback and request changes, if any.
|
|
162
|
+
|
|
163
|
+
17. When your pull request is merged, a new repository, called
|
|
164
|
+
ndx-guppy-record will be created in the nwb-extensions
|
|
165
|
+
GitHub organization and you will be added as a maintainer for that repository.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## Updating Your Published Extension
|
|
169
|
+
|
|
170
|
+
1. Update your ndx-guppy GitHub repository.
|
|
171
|
+
|
|
172
|
+
2. Publish your updated extension on PyPI.
|
|
173
|
+
|
|
174
|
+
3. Fork the ndx-guppy-record repository on GitHub.
|
|
175
|
+
|
|
176
|
+
4. Open a pull request to test the changes automatically. The technical team
|
|
177
|
+
will review your changes shortly after and provide feedback and request changes,
|
|
178
|
+
if any.
|
|
179
|
+
|
|
180
|
+
5. Your updated extension is approved.
|