bandu 1.3.3__py3-none-any.whl → 1.3.4__py3-none-any.whl

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.
bandu/xsf_reader.py CHANGED
@@ -35,9 +35,9 @@ class XSF():
35
35
  for i, line in enumerate(self.xsf_lines):
36
36
  # get lattice vectors from XSF file
37
37
  if line.strip() == 'PRIMVEC':
38
- self.lattice[0,:] = [float(val) for val in self.xsf_lines[i+1].strip().split(' ')]
39
- self.lattice[1,:] = [float(val) for val in self.xsf_lines[i+2].strip().split(' ')]
40
- self.lattice[2,:] = [float(val) for val in self.xsf_lines[i+3].strip().split(' ')]
38
+ self.lattice[0,:] = [float(val) for val in self.xsf_lines[i+1].strip().split(' ') if val != '']
39
+ self.lattice[1,:] = [float(val) for val in self.xsf_lines[i+2].strip().split(' ') if val != '']
40
+ self.lattice[2,:] = [float(val) for val in self.xsf_lines[i+3].strip().split(' ') if val != '']
41
41
  # get number of atoms and atomic symbols
42
42
  # get atomic coordinates from XSF file
43
43
  if line.strip() == 'PRIMCOORD':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bandu
3
- Version: 1.3.3
3
+ Version: 1.3.4
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
@@ -6,9 +6,9 @@ bandu/isosurface_class.py,sha256=M6XAuy89uyX3v_JX3wYd5VqAWel9JiMQ7wRBhFhhn3A,102
6
6
  bandu/plotter.py,sha256=jvxsvabzTxgWUZxX2XtO1VFoMdiu0C_qXdODJqpBfrA,27718
7
7
  bandu/translate.py,sha256=YGTkwne4bdrw649OjRKBio7IBsCNVoa__rjkFZK6uRI,2217
8
8
  bandu/wfk_class.py,sha256=j7bvEAb9eUU77mHGNLGdPpmpgVBb6bsKQqej9n0cANc,26203
9
- bandu/xsf_reader.py,sha256=tkJaBiUHsEKvpdJishi-MZyU1NYYMsgH_8UuuYsG07A,5030
10
- bandu-1.3.3.dist-info/licenses/LICENSE,sha256=jk_B-WYDiyH9RtxC45pO6JUtBxmfX5i240dVzv1okCg,1088
11
- bandu-1.3.3.dist-info/METADATA,sha256=w1VzntS0rWvnJzXJvFI1sRBTZYDZiguMscJNY9CZPf8,8945
12
- bandu-1.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- bandu-1.3.3.dist-info/top_level.txt,sha256=AxbMFU3BRdjCr75K9gAdblwlBMQ3qr9-AaCC-IS8OWs,6
14
- bandu-1.3.3.dist-info/RECORD,,
9
+ bandu/xsf_reader.py,sha256=9NNiCMCsmyJL2afwaC-zW6CHGUPv1qSUpSoy2Ej2rGk,5069
10
+ bandu-1.3.4.dist-info/licenses/LICENSE,sha256=jk_B-WYDiyH9RtxC45pO6JUtBxmfX5i240dVzv1okCg,1088
11
+ bandu-1.3.4.dist-info/METADATA,sha256=ct_NkMwEQ39S9-P2tBdNKT6J2rVFzMuN22YoNcwaQEQ,8945
12
+ bandu-1.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ bandu-1.3.4.dist-info/top_level.txt,sha256=AxbMFU3BRdjCr75K9gAdblwlBMQ3qr9-AaCC-IS8OWs,6
14
+ bandu-1.3.4.dist-info/RECORD,,
File without changes