-
Notifications
You must be signed in to change notification settings - Fork 0
2 qc cleanup of project #4
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
base: main
Are you sure you want to change the base?
Conversation
…odule It does not belong to src directory
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.
Pull Request Overview
The PR cleans up legacy utilities and solver scripts, standardizes run scripts, and introduces minor style updates in visualization and main entry points.
- Removed outdated modules and submodules (cart2sph, lobpcg_torch, src/Praktyki) and their run scripts
- Added a top‐level
run.shand locked Python to version 3.9.21 - Introduced TODO markers and adjusted string quoting in
visualize.py,main.py, andsrc/util/cub.py
Reviewed Changes
Copilot reviewed 11 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| visualize.py | Added a generic TODO comment for interactive enhancements |
| src/util/cub.py | Changed file-open calls to use double quotes |
| src/util/cart2sph.py | Removed legacy Cartesian-to-spherical converter |
| src/solver/run.sh | Removed outdated solver run script |
| src/solver/lobpcg_torch.py | Removed legacy LOBPCG Torch implementation |
| src/Praktyki | Removed submodule reference |
| run.sh | Added project-level run script |
| main.py | Added TODOs for cleanup and removed old box import |
| .python-version | Specified Python version 3.9.21 |
| .pylintrc | Deleted large deprecated Pylint configuration |
| .gitmodules | Removed submodule definitions |
Comments suppressed due to low confidence (2)
visualize.py:1
- [nitpick] This TODO is quite vague; consider clarifying the intended enhancement or replacing it with a more actionable task or user story.
#TODO it has to be either more interactive or more intelligent than that
src/util/cub.py:19
- [nitpick] The project appears to use single quotes elsewhere; consider aligning open calls to single quotes for consistency with the codebase style.
with open(file_path, "wb") as f:
| #!/usr/bin/env python | ||
| # -*- coding: utf-8 -*- | ||
| #TODO: cleanup of main from boxes, linspaces instead | ||
| #TODO: remove mayavi, use visualize.py instead |
Copilot
AI
Jun 25, 2025
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.
The TODO indicates removal of Mayavi imports, but the imports remain; please either implement the switch to visualize.py or remove the unused Mayavi references now.
No description provided.