orto 1.0.3__tar.gz → 1.0.5__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: orto
3
- Version: 1.0.3
3
+ Version: 1.0.5
4
4
  Summary: A package to make life easier when performing Orca calculations.
5
5
  Home-page: https://orto.kragskow.group
6
6
  Author: Jon Kragskow
@@ -1,4 +1,3 @@
1
- from orto.cli import *
2
1
  """
3
2
  orto is a package for using Orca
4
- """
3
+ """
@@ -0,0 +1 @@
1
+ __version__ = '1.0.5'
@@ -872,13 +872,16 @@ def extract_orbs_func(uargs, save=True) -> None:
872
872
  # if no rows greater than threshold, skip
873
873
  if not len(mo[mo > uargs.threshold]):
874
874
  continue
875
- print(f'MO #{mo_num} (Occ={occupancies[mo_num]}, E={energies[mo_num]: .5f}):') # noqa
876
875
  _output = ''
876
+ total = 0.
877
877
  for row, val in mo.items():
878
878
  if val > uargs.threshold and row[1] in uargs.elements:
879
879
  _output += f' {row[1]+str(row[0]):5} {row[2]:5} : {val:>5.1f} %\n' # noqa
880
+ total += val
880
881
  if len(_output):
882
+ print(f'MO #{mo_num} (Occ={occupancies[mo_num]}, E={energies[mo_num]: .5f}):') # noqa
881
883
  print(_output)
884
+ print(f' Total: {total:>5.1f} %\n')
882
885
 
883
886
  return
884
887
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orto
3
- Version: 1.0.3
3
+ Version: 1.0.5
4
4
  Summary: A package to make life easier when performing Orca calculations.
5
5
  Home-page: https://orto.kragskow.group
6
6
  Author: Jon Kragskow
@@ -8,7 +8,7 @@ Please see the `orto` documentation for more details.
8
8
 
9
9
  # DO NOT EDIT THIS NUMBER!
10
10
  # IT IS AUTOMATICALLY CHANGED BY python-semantic-release
11
- __version__ = '1.0.3'
11
+ __version__ = '1.0.5'
12
12
 
13
13
  setuptools.setup(
14
14
  name='orto',
@@ -1 +0,0 @@
1
- __version__ = '1.0.3'
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
File without changes
File without changes
File without changes