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

495 deprecation #498

Merged
merged 6 commits into from
Jan 9, 2023
Merged

495 deprecation #498

merged 6 commits into from
Jan 9, 2023

Conversation

zerothi
Copy link
Owner

@zerothi zerothi commented Oct 12, 2022

Removed all deprecation methods.

This means that older code should update their function calls.

@codecov
Copy link

codecov bot commented Oct 12, 2022

Codecov Report

Merging #498 (92759be) into main (fa3d91c) will increase coverage by 0.22%.
The diff coverage is 88.05%.

❗ Current head 92759be differs from pull request most recent head 7441209. Consider uploading reports for the commit 7441209 to get more accurate results

@@            Coverage Diff             @@
##             main     #498      +/-   ##
==========================================
+ Coverage   87.26%   87.48%   +0.22%     
==========================================
  Files         353      353              
  Lines       45709    45208     -501     
==========================================
- Hits        39886    39550     -336     
+ Misses       5823     5658     -165     
Impacted Files Coverage Δ
sisl/_dispatcher.py 68.33% <ø> (ø)
sisl/grid.py 85.99% <ø> (-0.02%) ⬇️
sisl/physics/dynamicalmatrix.py 86.51% <ø> (-1.72%) ⬇️
sisl/physics/hamiltonian.py 77.96% <ø> (-7.25%) ⬇️
sisl/physics/spin.py 98.94% <ø> (+1.83%) ⬆️
sisl/supercell.py 96.12% <ø> (+0.11%) ⬆️
sisl/tests/test_geometry.py 99.67% <ø> (-0.01%) ⬇️
sisl/physics/phonon.py 73.49% <15.38%> (+1.82%) ⬆️
sisl/physics/electron.py 83.88% <80.00%> (-0.91%) ⬇️
sisl/physics/brillouinzone.py 87.27% <91.66%> (+18.35%) ⬆️
... and 24 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Oct 12, 2022

This pull request introduces 6 alerts when merging 6c80e8d into 3b3ade9 - view on LGTM.com

new alerts:

  • 4 for Unused import
  • 1 for Unused local variable
  • 1 for Module is imported with 'import' and 'import from'

@zerothi zerothi added this to the v0.13.0 milestone Oct 12, 2022
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Oct 12, 2022

This pull request introduces 2 alerts when merging 2091ca5 into 53e975c - view on LGTM.com

new alerts:

  • 1 for Unused local variable
  • 1 for Module is imported with 'import' and 'import from'

@zerothi zerothi force-pushed the 495-deprecation branch 2 times, most recently from 394c73d to 6bde28a Compare January 9, 2023 11:04

def dispatch(self, method, eta_key="grid"):
""" Dispatch the method by putting values on the grid """
pool = _pool_procs(self._attrs.get("pool", None))

Check notice

Code scanning / CodeQL

Unused local variable

Variable pool is not used.
@zerothi zerothi force-pushed the 495-deprecation branch 2 times, most recently from 92759be to 071124a Compare January 9, 2023 11:56
This means that uses of bz.DOS will have to be changed
to wrap the eigenstate. We should consider whether
this needs to be eased, possibly with fixing __getattr__.
@zerothi zerothi merged commit 06c6b66 into main Jan 9, 2023
@zerothi zerothi deleted the 495-deprecation branch July 10, 2023 08:27
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