bandu 1.3.1__tar.gz → 1.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bandu
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: The BandU program constructs a rank ordered series of crystal orbitals using principal component analysis. These principal orbital components can then be projected on the Fermi surface and visualized
5
5
  Author-email: Patrick Cross <pcross@wisc.edu>
6
6
  Project-URL: Homepage, https://github.com/pcross0405/BandU
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bandu"
7
- version = "1.3.1"
7
+ version = "1.3.2"
8
8
  authors = [
9
9
  { name="Patrick Cross", email="pcross@wisc.edu" },
10
10
  ]
@@ -963,11 +963,7 @@ class AbinitNetCDF():
963
963
  self.nband:int = int(self.dataset.dimensions['bantot'].size / self.nkpt)
964
964
  self.typat:list = self.dataset.variables['atom_species'][:].tolist()
965
965
  self.zion:np.ndarray = self.dataset.variables['atomic_numbers'][:]
966
- _all_ions = [int(self.zion[i-1]) for i in self.typat]
967
- self.znucltypat:list = []
968
- for i in _all_ions:
969
- if i not in self.znucltypat:
970
- self.znucltypat.append(i)
966
+ self.znucltypat:list = [int(nuc) for nuc in self.zion]
971
967
  self.bands = [self.nband]
972
968
  #---------------------------------------------------------------------------------------------------------------------#
973
969
  #------------------------------------------------------ METHODS ------------------------------------------------------#
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bandu
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: The BandU program constructs a rank ordered series of crystal orbitals using principal component analysis. These principal orbital components can then be projected on the Fermi surface and visualized
5
5
  Author-email: Patrick Cross <pcross@wisc.edu>
6
6
  Project-URL: Homepage, https://github.com/pcross0405/BandU
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes