Closed AntObi closed 4 months ago
[!WARNING]
Rate limit exceeded
@AntObi has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 7 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 9c81d5e7b526010c2d4b51534d4cb1bf96e6ae8e and 55dfa8c3d8c833abc00e4461e8e8f9b3102f67be.
The Doper
class's get_dopants
method now returns a nested dictionary categorising dopant suggestions by type and charge. Additionally, the plot_dopants
method includes a new cmap
parameter for customising the colormap in heatmap visualisations. These changes enhance data organisation and visual customisation capabilities in dopant prediction and visualisation.
File | Change Summary |
---|---|
smact/dopant_prediction/doper.py |
- get_dopants method: Modified to return a nested dictionary categorised by type and charge. |
- plot_dopants method: Added cmap parameter for colormap customisation in periodic table heatmap visualisation. |
sequenceDiagram
participant User
participant Doper
participant get_dopants
participant plot_dopants
User->>Doper: call get_dopants(get_selectivity, group_by_charge)
Doper->>get_dopants: retrieve dopants
get_dopants-->>Doper: return nested dict by type and charge
Doper-->>User: return dopants
User->>Doper: call plot_dopants(cmap)
Doper->>plot_dopants: generate heatmap with cmap
plot_dopants-->>Doper: return visualisation
Doper-->>User: return heatmap
> In the world of dopant delight,
> New structures now shine bright,
> With nested types and charges clear,
> Visuals with colours that endear,
> A rabbit's whimsy in the code,
> Enhancing pathways science showed. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.65%. Comparing base (
cbf7515
) to head (55dfa8c
). Report is 103 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Pull Request Template
Description
Doper().plot_dopants
has acmap
argument to let users choose the colour of the heatmapsType of change
Please delete options that are not relevant.
How Has This Been Tested?
Test Configuration:
Reviewers
N/A
Checklist:
Summary by CodeRabbit
New Features
Improvements
get_dopants
method now returns results in a nested dictionary format.plot_dopants
method supports acmap
parameter to choose colormap.