Skip to content

Conversation

@Nick-E-P
Copy link
Owner

@Nick-E-P Nick-E-P commented Dec 1, 2025

Updated readme.md with Hugging Face Spaces link

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a Gradio-based web application for cosinor analysis, adds comprehensive documentation to existing modules, and refactors the codebase by consolidating utilities and removing demo/example code. The changes significantly expand functionality for live-cell and omics dataset analysis while improving code maintainability through enhanced docstrings and type hints.

Key Changes

  • Added Gradio web application support with dependencies (gradio>=5.50.0, openpyxl>=3.1.5)
  • Introduced two new modules: livecell_dataset.py and livecell_cosinor_analysis.py for time-series cosinor analysis
  • Comprehensive documentation added via NumPy-style docstrings across omics_differential_rhytmicity.py and omics_dataset.py

Reviewed changes

Copilot reviewed 27 out of 34 changed files in this pull request and generated no comments.

Show a summary per file
File Description
uv.lock Added Gradio ecosystem dependencies (fastapi, aiofiles, uvicorn, websockets, etc.) and updated Python version markers
tests/unit_tests/test_states_info.py Removed demo tests for example city/state functionality
tests/unit_tests/test_data_loading.py Removed basic CSV loading tests
tests/fixtures/example_fixture.py Removed example fixture demonstrating pytest patterns
tests/conftest.py Simplified to register actual test fixtures instead of examples
test-reports/report.xml Updated test results showing 89 passing tests (up from 7)
src/cosinor_lite/visualisation.py Deleted; functionality consolidated into omics_differential_rhytmicity.py
src/cosinor_lite/utils.py Deleted; utility functions moved into omics_differential_rhytmicity.py
src/cosinor_lite/states_info.py Removed demo utility for US state capitals
src/cosinor_lite/cities.json Removed demo data file
src/cosinor_lite/models.py Deleted; model classes consolidated into omics_differential_rhytmicity.py
src/cosinor_lite/omics_differential_rhytmicity.py Major enhancement with comprehensive docstrings, type hints, and consolidated model definitions
src/cosinor_lite/omics_dataset.py Added NumPy-style docstrings and improved method documentation
src/cosinor_lite/livecell_dataset.py New module for live-cell time-series dataset handling with validation and plotting
src/cosinor_lite/livecell_cosinor_analysis.py New module implementing cosinor model fitting (24h, free-period, damped) for live-cell data
pyproject.toml Added gradio and openpyxl dependencies; configured interrogate for docstring coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Nick-E-P Nick-E-P closed this Dec 1, 2025
@Nick-E-P Nick-E-P deleted the feature/updated-gradio-app branch December 1, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants