fix : Upgrade pyopenms_viz to v1.0.0 and Resolve Breaking API Changes #148
fix : Upgrade pyopenms_viz to v1.0.0 and Resolve Breaking API Changes #148jcharkow merged 2 commits intoOpenMS:mainfrom
Conversation
WalkthroughThe pull request updates package versioning and modifies plotting function parameters. In both Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PlotFunction as plot_bpc_tic
participant DataHandler as DataFrame Handler
participant Renderer as Plot Renderer
User->>PlotFunction: Call plot_bpc_tic(df)
PlotFunction->>DataHandler: Filter data & create a copy
DataHandler-->>PlotFunction: Return filtered data (with "type" set via loc)
PlotFunction->>Renderer: Call plotting (using color & aggregate_duplicates)
Renderer-->>PlotFunction: Generated plot
PlotFunction-->>User: Return plot
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (9)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@achalbajpai looks good! Please merge the current main branch into this branch locally and resolve merge conflicts. e.g. on branch achalbajpai:main run git pull origin main |
jcharkow
left a comment
There was a problem hiding this comment.
Looks good provided tests also pass on github server good to merge!
|
@jcharkow done with it ! |
|
Thanks! Will merge now. |
Changelog
Version Update and Improvements
1. Package Version Updates
Updated
pyopenms_vizto version1.0.0in multiple configuration files:requirements.txt
environment.yml
2. Breaking Changes Fixes in
src/view.pyfigparameter from all plot calls to comply with pyopenms_viz 1.0.0colorparameter was already correctly updated (previouslyline_color)Plot Method Improvements
Added
aggregate_duplicates=Trueto all plot calls to prevent duplicate data warnings:Summary of Key Changes
pyopenms_vizto version 1.0.0aggregate_duplicatesSummary by CodeRabbit
Chores
New Features