orto 1.0.4__py3-none-any.whl → 1.0.5__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.
orto/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.0.4'
1
+ __version__ = '1.0.5'
orto/cli.py CHANGED
@@ -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.4
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,6 +1,6 @@
1
1
  orto/__init__.py,sha256=IedlltYr3qYZxChNUdz62qogXA9Pos_MUvXdGXqAa0E,41
2
- orto/__version__.py,sha256=thGZHY6pLPhJc6CwYBjUaQ6pGxLhwPMp_pjoYsiwvI4,22
3
- orto/cli.py,sha256=yckaw1kryADOWz-NZPzXpXYTp8L9X89TVqUErfg3RsY,61241
2
+ orto/__version__.py,sha256=A2hyo7so0ekhMgLqX7oCoQZq9eN8grvMFanPPMDXD7w,22
3
+ orto/cli.py,sha256=S05ypFp4NEv1ZVaa4xTSz_oTrAeVwpL1rd8qNRviz8A,61349
4
4
  orto/constants.py,sha256=2obWYg306Lce4U9Qs4MHg1yZq7SHFkazG-cnkD5svpo,343
5
5
  orto/exceptions.py,sha256=D7oNeAEGeJNt5thzt6PaCn5FY6JcbJOWUE1N1LVhhuE,159
6
6
  orto/extractor.py,sha256=tO2oFf6Cgwdnh_m1v8r1rXQO2_FL7s-1KBqLPy6zNco,67384
@@ -8,8 +8,8 @@ orto/input.py,sha256=cVhApyjCbqIDA0uRGqmt3UwKEn7djPjSWob70Ghg9fw,7060
8
8
  orto/job.py,sha256=SM0nlc_bqhhPvfuuykhMvaUnkwC3Gp-6RvYw_a0TyGc,5855
9
9
  orto/plotter.py,sha256=ICrO03T_HGe-H1XKZ2qzsKYdPY44E0PKiXqIQQawd7I,15633
10
10
  orto/utils.py,sha256=gVfGplkfc6xGYgLMi_7I_yAdWG-QKRaqQdy9v5F4Mck,7279
11
- orto-1.0.4.dist-info/METADATA,sha256=lluzNRekjQpJx9bJr2Nly8UmDOdaYEzB63p-BVS53u8,1140
12
- orto-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- orto-1.0.4.dist-info/entry_points.txt,sha256=HXenCglMp_03JkN34pK2phkjXK9CFcXTGHKv5QaVY8I,39
14
- orto-1.0.4.dist-info/top_level.txt,sha256=hQ-z28gTN_FZ2B5Kiwxr_9cUTcCoib9W5HjbkceDXw4,5
15
- orto-1.0.4.dist-info/RECORD,,
11
+ orto-1.0.5.dist-info/METADATA,sha256=eiqYg-889V2vaRfAufsj5HCBhgVmVjIu_U9u4PUR5n0,1140
12
+ orto-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ orto-1.0.5.dist-info/entry_points.txt,sha256=HXenCglMp_03JkN34pK2phkjXK9CFcXTGHKv5QaVY8I,39
14
+ orto-1.0.5.dist-info/top_level.txt,sha256=hQ-z28gTN_FZ2B5Kiwxr_9cUTcCoib9W5HjbkceDXw4,5
15
+ orto-1.0.5.dist-info/RECORD,,
File without changes