Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
57d0ba9
added auto-publish workflow
pauladkisson Aug 13, 2025
3d4664f
added pyproject.toml
pauladkisson Aug 13, 2025
f376da2
added sparse_environment.yaml
pauladkisson Aug 13, 2025
f51bc39
pinned openssl and certifi
pauladkisson Aug 14, 2025
9cc85fa
updated syntax for pn.Card in savingInputParameters
pauladkisson Aug 16, 2025
2e97412
established initial python 3.12 environment
pauladkisson Aug 16, 2025
622327a
Fixed homepage by swapping the panel.widgets.DataFrame with panel.wid…
pauladkisson Aug 18, 2025
dafb0c3
implement venus' changes in savesStoresList.py
pauladkisson Aug 18, 2025
cbf9692
Revert "implement venus' changes in savesStoresList.py"
pauladkisson Aug 19, 2025
3421a46
added dependencies to pyproject.toml
pauladkisson Aug 20, 2025
df45f33
Updated auto-publish to use TestPyPI
pauladkisson Aug 20, 2025
54241e7
removed old lock files
pauladkisson Aug 20, 2025
6a6f03d
updated version
pauladkisson Aug 20, 2025
764480a
added workflow_dispatch
pauladkisson Aug 20, 2025
e68180a
moved auto-publish to the correct location
pauladkisson Aug 20, 2025
06b0f23
moved auto-publish to the correct location
pauladkisson Aug 20, 2025
c1735d0
.yml
pauladkisson Aug 20, 2025
dc1bbcb
fixed workflow warning
pauladkisson Aug 20, 2025
0149473
switched to modern attestations approach
pauladkisson Aug 20, 2025
a437368
switched to modern attestations approach
pauladkisson Aug 20, 2025
c8f16d9
updated comment header
pauladkisson Aug 20, 2025
2d56292
updated version
pauladkisson Aug 20, 2025
3fc2de3
Fix bugs exposed by pip-installable environment (#145)
pauladkisson Aug 21, 2025
fe4d3dd
alpha5
pauladkisson Aug 21, 2025
316c63a
reorganized into src/guppy pattern
pauladkisson Aug 21, 2025
1103e45
added main entry point
pauladkisson Aug 21, 2025
ed7d141
added main entry point pt 2
pauladkisson Aug 21, 2025
c3d0ac1
reverted back to subprocess calls bc matplotlib needs to be in the ma…
pauladkisson Aug 21, 2025
32ad20e
fixed subprocess.call syntax to work with guppy entry point
pauladkisson Aug 21, 2025
c040672
removed readh5 clutter
pauladkisson Aug 21, 2025
ad3dd98
saving log file to home directory to avoid permissions errors
pauladkisson Aug 21, 2025
c6525cc
update pyproject.toml
pauladkisson Aug 21, 2025
c30b8ec
update pyproject.toml to use direct dependencies
pauladkisson Aug 26, 2025
38943b3
added explicit support for python 3.10-3.13
pauladkisson Aug 26, 2025
81aa0c0
removed old spec files
pauladkisson Aug 27, 2025
e6430c7
Added installation instructions to the readme
pauladkisson Aug 27, 2025
71aa80a
Added changelog
pauladkisson Aug 27, 2025
37ab6fb
Added manifest
pauladkisson Aug 27, 2025
ee9c99c
updated changelog to explicitly mention breaking changes
pauladkisson Aug 27, 2025
057ee6d
added headless mode for step 1 and appropriate test
pauladkisson Aug 28, 2025
be54ce4
added headless mode for step 2 and appropriate test
pauladkisson Aug 28, 2025
6be04a9
renamed test_step2
pauladkisson Aug 28, 2025
5a1fedb
added headless mode for step 3 and appropriate test
pauladkisson Aug 28, 2025
b9c2fdf
fixed storenames_map
pauladkisson Aug 28, 2025
30ec4a2
added headless mode for step 4 and appropriate test
pauladkisson Aug 28, 2025
04c5642
added headless mode for step 5 and appropriate test
pauladkisson Aug 28, 2025
838d911
added the rest of the data modalities (except npm) for step 3
pauladkisson Aug 29, 2025
1d24eca
added the rest of the data modalities (except npm) for step 2
pauladkisson Aug 29, 2025
58092e5
added npm to step 2
pauladkisson Aug 29, 2025
31dc80d
added npm to step 3
pauladkisson Aug 29, 2025
fb20557
added the rest of the data modalities for step 4
pauladkisson Aug 29, 2025
2664ab5
added the rest of the data modalities for step 5
pauladkisson Aug 29, 2025
c132433
merge main
pauladkisson Aug 30, 2025
08e5799
updated run-tests.yml
pauladkisson Aug 30, 2025
20dc6e8
Added load-data action (#156)
pauladkisson Sep 1, 2025
0ad6de1
merge main
pauladkisson Sep 1, 2025
70b7227
added inputs to the workflow dispatch
pauladkisson Sep 1, 2025
1f9a490
switched to rclone lsjson
pauladkisson Sep 1, 2025
db38acf
fixed hashing
pauladkisson Sep 1, 2025
4274192
updated dependency groups to include test
pauladkisson Sep 1, 2025
58848bf
DEBUG commented out plt.switch_backend
pauladkisson Sep 1, 2025
7909b04
Only set matplotlib backend if not in CI environment
pauladkisson Sep 1, 2025
507163b
updated cache key
pauladkisson Sep 1, 2025
5dc12ee
updated cache key
pauladkisson Sep 1, 2025
61209c5
updated testing data location
pauladkisson Sep 1, 2025
c1a629c
fixed bug with npm params
pauladkisson Sep 2, 2025
a4e12ac
added extra assertions to test_step2 to ensure npm creates the requis…
pauladkisson Sep 2, 2025
2a32bc6
updated default os to windows-2022
pauladkisson Sep 2, 2025
ac86e35
updated pr-tests
pauladkisson Sep 2, 2025
d6a33e4
updated pr-tests
pauladkisson Sep 2, 2025
b05382d
removed assess-file-changes
pauladkisson Sep 2, 2025
00b0e67
fixed data cache hash
pauladkisson Sep 3, 2025
35e5731
updated npm_timestamp to use name instead of index
pauladkisson Sep 16, 2025
96facf3
disable parallel execution for ci tests
pauladkisson Sep 18, 2025
1dc4b3d
Merge branch 'dev' into testing
pauladkisson Oct 16, 2025
b649247
First pass at centralizing the logging.
pauladkisson Oct 16, 2025
bced65e
Updated logging to follow best practice of module-level loggers
pauladkisson Oct 16, 2025
e2edcb4
Updated run-tests
pauladkisson Oct 16, 2025
90a3d8a
replaced prints with logging
pauladkisson Oct 16, 2025
2c7047d
Update src/guppy/preprocess.py
pauladkisson Oct 16, 2025
2144e96
Merge branch 'dev' into testing
pauladkisson Oct 17, 2025
bb5f164
Merge branch 'testing' into logging
pauladkisson Oct 17, 2025
4c97505
added pre-commit hooks
pauladkisson Oct 17, 2025
cb18839
pre-commit auto-fixes
pauladkisson Oct 17, 2025
e6e55e5
fix typos
pauladkisson Oct 17, 2025
a62f665
Updated the paths in test_step2.
pauladkisson Oct 27, 2025
cd07797
Updated the paths in the rest of the tests.
pauladkisson Oct 28, 2025
20253db
Merge branch 'testing' into logging
pauladkisson Oct 28, 2025
981847b
Merge branch 'logging' into precommit
pauladkisson Oct 28, 2025
592701a
Added option to export logs to a more user-friendly location.
pauladkisson Oct 29, 2025
c5a1456
Corrected documentation.
pauladkisson Oct 29, 2025
a105ad6
Updated docstring to contain accurate log_file paths for each OS
pauladkisson Oct 30, 2025
35193c9
Merge branch 'dev' into logging
pauladkisson Nov 4, 2025
bdb3082
Merge branch 'logging' into precommit
pauladkisson Nov 4, 2025
907d389
Applied formatting to upstream merge changes.
pauladkisson Nov 4, 2025
b12b61a
Merge branch 'dev' into precommit
pauladkisson Nov 4, 2025
d136ad7
Applied formatting to upstream merge changes.
pauladkisson Nov 4, 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
2 changes: 1 addition & 1 deletion .github/actions/load-data/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ runs:
name: Download datasets from Google Drive
shell: bash
run: |
rclone copy remote:"SampleData" ./testing_data --drive-shared-with-me
rclone copy remote:"SampleData" ./testing_data --drive-shared-with-me
2 changes: 1 addition & 1 deletion .github/workflows/all_os_versions.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["ubuntu-latest", "macos-latest", "windows-2022"]
["ubuntu-latest", "macos-latest", "windows-2022"]
2 changes: 1 addition & 1 deletion .github/workflows/all_python_versions.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["3.10", "3.11", "3.12", "3.13"]
["3.10", "3.11", "3.12", "3.13"]
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
python -m pip install "."
python -m pip install --group test

- name: Prepare data for tests
uses: ./.github/actions/load-data
with:
Expand Down
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
exclude: ^docs/

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.0
hooks:
- id: ruff
args: [ --fix ]

- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@

# GuPPy-v1.1.1 (July 6th, 2021)

It is the GuPPy's first release for people to use and give us feedbacks on it
It is the GuPPy's first release for people to use and give us feedbacks on it
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include *.md
recursive-include src *.ipynb
recursive-include src *.ipynb
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ To install the latest stable release of GuPPy through PyPI, simply run the follo
pip install guppy
```

We recommend that you install the package inside a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
A simple way of doing this is to use a [conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/environments.html) from the `conda` package manager ([installation instructions](https://docs.conda.io/en/latest/miniconda.html)).
We recommend that you install the package inside a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
A simple way of doing this is to use a [conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/environments.html) from the `conda` package manager ([installation instructions](https://docs.conda.io/en/latest/miniconda.html)).
Detailed instructions on how to use conda environments can be found in their [documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html).

### Installation from GitHub

To install the latest development version of GuPPy from GitHub, you can clone the repository and install the package manually.
This has the advantage of allowing you to access the latest features and bug fixes that may not yet be available in the stable release.
To install the conversion from GitHub you will need to use `git` ([installation instructions](https://github.com/git-guides/install-git)).
To install the latest development version of GuPPy from GitHub, you can clone the repository and install the package manually.
This has the advantage of allowing you to access the latest features and bug fixes that may not yet be available in the stable release.
To install the conversion from GitHub you will need to use `git` ([installation instructions](https://github.com/git-guides/install-git)).
From a terminal or command prompt, execute the following commands:

1. Clone the repository:
Expand Down Expand Up @@ -88,5 +88,3 @@ This will launch the GuPPy user interface, where you can begin analyzing your fi
- [Gabriela Lopez](https://github.com/glopez924)
- [Talia Lerner](https://github.com/talialerner)
- [Paul Adkisson](https://github.com/pauladkisson)


65 changes: 59 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ authors = [

license = { file = "LICENSE" }
keywords = [
"neuroscience",
"fiber-photometry",
"calcium-imaging",
"data-analysis",
"gui",
"visualization",
"neuroscience",
"fiber-photometry",
"calcium-imaging",
"data-analysis",
"gui",
"visualization",
"signal-processing",
]
classifiers = [
Expand Down Expand Up @@ -64,6 +64,10 @@ test = [
"pytest-xdist" # Runs tests on parallel
]

dev = [
"pre-commit",
]

[project.scripts]
guppy = "guppy.main:main"

Expand All @@ -73,3 +77,52 @@ guppy = "guppy.main:main"

[tool.setuptools.packages.find]
where = ["src"]

[tool.black]
line-length = 120
target-version = ['py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'
extend-exclude = '''
/(
\.toml
|\.yml
|\.txt
|\.sh
|\.git
|\.ini
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''


[tool.ruff]

[tool.ruff.lint]
select = [
"F401", # Unused import
"I", # All isort rules
# TODO: add docstring rules after adding comprehensive docstrings to all public functions/classes
# "D101", # Missing docstring in public class
# "D103", # Missing docstring in public function
"UP006", # non-pep585 annotation (tuple, list -> tuple, list)
"UP007" # non-pep604 annotation (Union[x, y] -> X | Y )
]
fixable = ["ALL"]

[tool.ruff.lint.per-file-ignores]
"**__init__.py" = ["F401", "I"] # We are not enforcing import rules in __init__'s

[tool.ruff.lint.isort]
relative-imports-order = "closest-to-furthest"
known-first-party = ["guppy"]


[tool.codespell]
skip = '.git*,*.pdf,*.css,*.svg'
check-hidden = true
ignore-words-list = 'assertin,sortings'
Loading