🚀 Key Features
📊 New Post-Processing Analysis Module
A dedicated analysis.py module has been introduced to generate publication-ready statistics and figures from pipeline outputs without re-running the data collection steps.
- Network Statistics: Automatically generates degree distribution histograms and "Top N Hubs" bar charts.
- Interaction Quality: Analyzes and plots STRING confidence score distributions.
- Summary Tables: Produces CSV summaries for network metrics and interaction scores.
🕸️ Improved Network Visualization
The network visualization logic has been completely refactored into a NetworkVisualizer class for cleaner, more interpretative outputs.
- Hub-Centric Plots: The visualization now strictly focuses on "Hubs + First Neighbors," filtering out weak connectors to reduce noise.
- Visual Clarity: Enhanced legends, annotations, and styling for the static network plots (
network_static_hubs_connectors.png).
🛠 Improvements & Fixes
- Code Refactoring:
- Removed redundant code and excessive debug prints in
netpharm/core.pyandnetpharm/visualize.pyfor a cleaner execution log. - Streamlined the
build_networkfunction to support flexible scopes (all targets vs. overlapping only).
- Removed redundant code and excessive debug prints in
- CI/CD Integration: Added a GitHub Actions workflow (
.github/workflows/ci.yml) to
automatically run tests and check code coverage on every push. - Documentation: Updated
README.mdand added a new pipeline architecture diagram to better explain the workflow.
📦 Maintenance
- Updated package version to 0.1.2.