Add installation improvements and testing infrastructure#68
Merged
Conversation
…ocessing notebook - Added introductory video resources and basic coding practice links to the Broad Introduction module. - Removed the outdated Preprocessing Jupyter notebook. - Updated the README with improved installation instructions for pip and conda, and clarified the update process. - Enhanced the setup.py to handle missing files gracefully and updated package metadata.
seqasim
added a commit
that referenced
this pull request
Nov 15, 2025
Merge pull request #68 from seqasim/2025-11-15-96o6-91a92
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves the LFPAnalysis package for public use by fixing installation issues, adding a testing framework, and setting up CI/CD.
Changes
Installation Improvements
requirements.txtformatting (removed leading spaces)setup.pythat could cause installation failuressetup.pyTesting Infrastructure
mean_baseline_time,find_nearest_value,moving_average)pytest.iniCI/CD
Documentation
Testing
pip install -e .pytest tests/ -vImpact
Note
Adds GitHub Actions tests, a pytest-based test suite, packaging/installation fixes, documentation updates, and a minor TFR API adjustment.
/.github/workflows/tests.ymlrunning pytest on Python 3.8–3.10.pytest.iniand test suite undertests/(import checks and basic unit tests for key utilities).pytesttorequirements.txt.setup.py(remove external API calls, add metadata, robust README/requirements loading, python_requires, classifiers, package_data).requirements.txtformatting; include pytest.README.mdwith pip/conda install, update, and testing instructions.LFPAnalysis/lfp_preprocess_utils.py, switch TFR save object tomne.time_frequency.EpochsTFRArrayand tidy docstrings.LFPAnalysisBook/module-02-01_AdvancedPreprocessing.ipynband expand resource links in Jupyter Book modules.Written by Cursor Bugbot for commit b7ec444. This will update automatically on new commits. Configure here.