orto 1.7.1__tar.gz → 1.8.0__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.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
@@ -0,0 +1 @@
1
+ __version__ = '1.8.0'
@@ -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
@@ -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.7.1'
11
+ __version__ = '1.8.0'
12
12
 
13
13
  setuptools.setup(
14
14
  name='orto',
@@ -1 +0,0 @@
1
- __version__ = '1.7.1'
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
File without changes
File without changes
File without changes