-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update band interpolation #56
base: main
Are you sure you want to change the base?
Conversation
Warning Rate limit exceeded@kavanase has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 25 minutes and 47 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 for further information. 📒 Files selected for processing (1)
WalkthroughThe pull request introduces a minor textual correction in the documentation for the unfolding process of crystalline silicon, fixing a typographical error. Additionally, updates are made to the Changes
Poem
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? 🪧 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 (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #56 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 10 10
Lines 2055 2057 +2
=====================================
- Misses 2055 2057 +2 ☔ View full report in Codecov by Sentry. |
I think the use of |
Ah ok, fair enough. I've updated this to:
Small differences, but for comparison: (Less grainy) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.pylintrc (1)
425-426
: LGTM! Enhanced exception handling checks.The expanded configuration will now warn about catching both
builtins.BaseException
andbuiltins.Exception
, encouraging the use of more specific exception types. This is a good practice as it:
- Prevents accidentally catching too many exceptions
- Makes error handling more explicit and maintainable
- Helps identify and handle specific error cases appropriately
When catching exceptions, prefer using specific exception types that match your error cases. For example:
try: # Some file operation except FileNotFoundError: # Handle missing file except PermissionError: # Handle permission issues
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.pylintrc
(1 hunks)easyunfold/plotting.py
(6 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- easyunfold/plotting.py
⏰ Context from checks skipped due to timeout of 90000ms (8)
- GitHub Check: build (3.11)
- GitHub Check: build (3.10)
- GitHub Check: pre-commit
- GitHub Check: build (3.9)
- GitHub Check: build (3.11)
- GitHub Check: build (3.10)
- GitHub Check: build (3.9)
- GitHub Check: pre-commit
b5356ec
to
39147d1
Compare
@zhubonan |
Just a small PR which switches from using
pcolormesh
toimshow
in plotting, which then makes use of built-in interpolation and reduces some of the graininess of plotted grids mentioned in #55Summary by CodeRabbit
Documentation
Improvements
imshow
for better rendering