Skip to content
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

enabled writing HSX files #884

Merged
merged 2 commits into from
Jan 15, 2025
Merged

enabled writing HSX files #884

merged 2 commits into from
Jan 15, 2025

Conversation

zerothi
Copy link
Owner

@zerothi zerothi commented Jan 15, 2025

This not only allows writing HSX files, but also
completes the version == 1, version == 2 specification.

The later version is going to be the new default
for transiesta runs, given that it contains all information that the TSHS file contains + more.

Tests are added to ensure they are consistent.

However, the charges for the orbitals are not correctly stored, that should be solved later on.

  • Closes #
  • Added tests for new/changed functions?
  • Documentation for functionality in docs/
  • Changes documented in CHANGELOG.md

This not only allows writing HSX files, but also
completes the version == 1, version == 2 specification.

The later version is going to be the new default
for transiesta runs, given that it contains all information
that the TSHS file contains + more.

Tests are added to ensure they are consistent.

However, the charges for the orbitals are not correctly
stored, that should be solved later on.

Signed-off-by: Nick Papior <[email protected]>
@@ -1431,7 +1431,7 @@
"Mulliken Atomic Populations",
"Mulliken Net Atomic Populations",
]
except BaseException:
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 91.30435% with 12 lines in your changes missing coverage. Please review.

Project coverage is 86.87%. Comparing base (abce286) to head (8508960).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/sisl/io/siesta/binaries.py 90.00% 10 Missing ⚠️
src/sisl/_core/orbital.py 50.00% 1 Missing ⚠️
src/sisl/io/siesta/stdout.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #884      +/-   ##
==========================================
+ Coverage   86.86%   86.87%   +0.01%     
==========================================
  Files         405      405              
  Lines       53107    53231     +124     
==========================================
+ Hits        46131    46247     +116     
- Misses       6976     6984       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zerothi zerothi merged commit 39aab90 into main Jan 15, 2025
17 checks passed
@zerothi zerothi deleted the new-hsx branch January 15, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant