-
Notifications
You must be signed in to change notification settings - Fork 7
Feat: add Export HR action to generate and save updated HR files and bug fixes safeguards for mismatched or missing lambda inputs to avoid failures. #10
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
60787db
docs: update repository URL to DeePTB-Lab organization
QG-phy 1f104eb
feat(ci): add master branch to test workflow triggers
QG-phy d29ea8f
feat: add export HR functionality to parameter editor
QG-phy 5c9e4d5
feat: add working directory selection to header
QG-phy cdeafaa
feat(ui): improve theme toggle and path display
QG-phy 8c5b066
refactor(ui): optimize parameter editor layout and labels
QG-phy f97c4e5
feat(desktop): Set window size to 1000x600 pixels
QG-phy d83dd23
refactor: remove dynamic lambda add/remove functionality
QG-phy 15021a8
refactor: reduce parameter editor section spacing
QG-phy 473cb88
feat: add company logo to application header
QG-phy fc29da6
feat: implement dynamic version display
QG-phy c415169
feat: update header logo size and remove desktop label
QG-phy 51c3760
feat: add output_dir parameter to save_hr_file
QG-phy 789dde3
feat: rename Fermi energy label to Center energy
QG-phy db1a68b
feat: enhance lambda parsing in addsoc and improve plot tools
QG-phy 8aa16b5
feat: update input config format and improve integration tests
QG-phy 7d4a360
feat: add conditional test skip for frontend serving check
QG-phy a4045c1
feat: migrate from uv dev-dependencies to dependency-groups
QG-phy 7b1f6b3
test: fix integration tests to use correct Python and PYTHONPATH
QG-phy 54fb418
fix: correct GitHub workflow typo and adjust sidebar width
QG-phy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,10 @@ | ||
| { | ||
| "lambdas":[0.4, 0.1], | ||
| "posfile":"./POSCAR", | ||
| "winfile":"./wannier90.win", | ||
| "hrfile":"./wannier90_hr.dat", | ||
| "kpfile":"./KPOINTS", | ||
| "eigfile":"./EIGENVAL", | ||
| "outdir":"./", | ||
| "EMIN":-3, | ||
| "EMAX":3, | ||
| "lambdas": { | ||
| "Ta:d": 0.4, | ||
| "As:p": 0.1 | ||
| }, | ||
| "Efermi":6.4553, | ||
| "fit_emin": -3.0, | ||
| "fit_emax": 3.0 | ||
| "weight_sigma": 2.0, | ||
| "EMIN": -15, | ||
| "EMAX": 10 | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "lambdas":[0.4, 0.1], | ||
| "posfile":"./POSCAR", | ||
| "winfile":"./wannier90.win", | ||
| "hrfile":"./wannier90_hr.dat", | ||
| "kpfile":"./KPOINTS", | ||
| "eigfile":"./EIGENVAL", | ||
| "outdir":"./", | ||
| "EMIN":-3, | ||
| "EMAX":3, | ||
| "Efermi":6.4553, | ||
| "fit_emin": -3.0, | ||
| "fit_emax": 3.0 | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🏁 Script executed:
rg -nP -C5 'weight_sigma' --type=pyRepository: DeePTB-Lab/TBSOC
Length of output: 1395
🏁 Script executed:
Repository: DeePTB-Lab/TBSOC
Length of output: 674
🏁 Script executed:
Repository: DeePTB-Lab/TBSOC
Length of output: 194
🏁 Script executed:
Repository: DeePTB-Lab/TBSOC
Length of output: 385
Fix inconsistent default for weight_sigma: schema specifies 2.0 but runtime code uses 0.5.
The parameter has default handling and partial documentation, but with critical inconsistencies:
weight_sigma: float = 2.0butfitsoc.pyusesjdata.get('weight_sigma', 0.5). Update either the schema or runtime code to use the same default.🤖 Prompt for AI Agents