orto 1.7.1__py3-none-any.whl → 1.8.0__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.7.1'
1
+ __version__ = '1.8.0'
orto/cli.py CHANGED
@@ -820,8 +820,11 @@ def plot_abs_func(uargs, save_data_only=False):
820
820
 
821
821
  # Find unique name from multiple file names
822
822
  if len(uargs.output_file) > 1:
823
- base_names = [of.stem for of in uargs.output_file]
824
- unique_names = ut.find_unique_substring(base_names)
823
+ if uargs.unique_names:
824
+ base_names = [of.stem for of in uargs.output_file]
825
+ unique_names = ut.find_unique_substring(base_names)
826
+ else:
827
+ unique_names = [of.stem for of in uargs.output_file]
825
828
  legend = True
826
829
  else:
827
830
  legend = False
@@ -2159,6 +2162,16 @@ def read_args(arg_list=None):
2159
2162
  )
2160
2163
  )
2161
2164
 
2165
+ plot_abs.add_argument(
2166
+ '--unique_names',
2167
+ action='store_true',
2168
+ default=False,
2169
+ help=(
2170
+ 'Attempt to shorten file names in plot legend\n'
2171
+ 'Default: %(default)s'
2172
+ )
2173
+ )
2174
+
2162
2175
  plot_xes = plot_parser.add_parser(
2163
2176
  'xes',
2164
2177
  description='Plots XES from CI calculation output',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orto
3
- Version: 1.7.1
3
+ Version: 1.8.0
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=t5fxYgsky1Zd4XKxuqdV_dDlnVKVgmosmBX1AjwcKE0,22
3
- orto/cli.py,sha256=U2vvUHdKR6mCOpA_Jo71mpCVuxRtmRXXxgmAO1j3Hl0,80426
2
+ orto/__version__.py,sha256=xM8KgdV4KJGZbMUy8tPzc62kL9LzIER0XAX4CTGiDFM,22
3
+ orto/cli.py,sha256=Jbrc08vGV9OZY5G44sd7M_c56UC8hYI08ZC87HRyPtI,80777
4
4
  orto/constants.py,sha256=anxaiTykO8Q_CXliR7zuOAdnXZrQ2-C4ndaviyl7kGc,419
5
5
  orto/data.py,sha256=cNO8gQj6aZP-xriWUY2HchZ6iWZxVZnlrvAD4qhWT_o,14436
6
6
  orto/exceptions.py,sha256=D7oNeAEGeJNt5thzt6PaCn5FY6JcbJOWUE1N1LVhhuE,159
@@ -9,9 +9,9 @@ orto/input.py,sha256=N8JbySSVEC_qmXZ7ppJsZ7Z1qel6PfalGYRtnX1hJ6U,9900
9
9
  orto/job.py,sha256=SM0nlc_bqhhPvfuuykhMvaUnkwC3Gp-6RvYw_a0TyGc,5855
10
10
  orto/plotter.py,sha256=IATM7vBauT3StFXqk_4DKzCSiTnUunrCeNYRBKM3eUE,17695
11
11
  orto/utils.py,sha256=GcMZ9uebOSnkPQT_U5O0X49LUtTu8YpXZxEsNKgXNTY,9838
12
- orto-1.7.1.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
13
- orto-1.7.1.dist-info/METADATA,sha256=J4Ip0QocQOfRlV13ffkXh-sEgGKGcdGDszZvqa3ukKQ,1184
14
- orto-1.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- orto-1.7.1.dist-info/entry_points.txt,sha256=HXenCglMp_03JkN34pK2phkjXK9CFcXTGHKv5QaVY8I,39
16
- orto-1.7.1.dist-info/top_level.txt,sha256=hQ-z28gTN_FZ2B5Kiwxr_9cUTcCoib9W5HjbkceDXw4,5
17
- orto-1.7.1.dist-info/RECORD,,
12
+ orto-1.8.0.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
13
+ orto-1.8.0.dist-info/METADATA,sha256=RAh5Qee-q9kSlf3Qpi9Egt0LZw6-t6a_dAUfJnCXN4A,1184
14
+ orto-1.8.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ orto-1.8.0.dist-info/entry_points.txt,sha256=HXenCglMp_03JkN34pK2phkjXK9CFcXTGHKv5QaVY8I,39
16
+ orto-1.8.0.dist-info/top_level.txt,sha256=hQ-z28gTN_FZ2B5Kiwxr_9cUTcCoib9W5HjbkceDXw4,5
17
+ orto-1.8.0.dist-info/RECORD,,
File without changes