digichem-core 6.0.1__tar.gz → 6.0.2__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.
- {digichem_core-6.0.1 → digichem_core-6.0.2}/PKG-INFO +1 -1
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/__init__.py +2 -2
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/gaussian.py +5 -1
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/util.py +15 -15
- {digichem_core-6.0.1 → digichem_core-6.0.2}/.github/workflows/python-main-pull.yml +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/.github/workflows/python-main-push.yml +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/.github/workflows/python-pypi-publish.yml +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/.gitignore +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/.gitmodules +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/Banner.png +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/COPYING.md +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/LICENSE +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/README.md +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/basis.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/README +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/locations.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/parse.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/config/util.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/README +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/batoms/COPYING +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/batoms/LICENSE +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/batoms/README +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/batoms/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/batoms/batoms-renderer.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/config/digichem.yaml +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/functionals.csv +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/solvents.csv +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/tachyon/COPYING.md +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/tachyon/LICENSE +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/tachyon/tachyon_LINUXAMD64 +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/common.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_combined_orbital_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_density_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_dipole_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_orbital_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_spin_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_structure_images.tcl +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/datas.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/exception/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/exception/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/exception/uncatchable.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/cube.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/fchk.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/prattle.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/file/types.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/excited_states.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/graph.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/orbitals.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/render.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/spectroscopy.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/structure.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/image/vmd.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/input/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/input/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/input/digichem_input.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/input/gaussian.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/log.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/memory.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/argparse.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/io.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/layered_dict.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/text.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/misc/time.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/cclib.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/dump.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/orca.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/parse/turbomole.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/alignment/AA.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/alignment/AAA.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/alignment/FAP.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/alignment/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/alignment/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/angle.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/atom.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/base.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/dipole_moment.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/emission.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/energy.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/excited_state.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/ground_state.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/metadata.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/multi.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/nmr.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/orbital.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/result.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/soc.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/spectroscopy.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/tdm.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/result/vibration.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/__init__.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/conftest.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_basis.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_calculate.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_config.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_cube.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_exception.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_file.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_image.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_input.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_parsing.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_prattle.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_result.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/test_translate.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/test/util.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/translate.py +0 -0
- {digichem_core-6.0.1 → digichem_core-6.0.2}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: digichem-core
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.2
|
|
4
4
|
Summary: Open-source library for Digichem core components
|
|
5
5
|
Project-URL: Homepage, https://github.com/Digichem-Project/digichem-core
|
|
6
6
|
Project-URL: Documentation, https://doc.digi-chem.co.uk
|
|
@@ -20,7 +20,7 @@ from digichem.datas import get_resource
|
|
|
20
20
|
# development = prerelease is not None
|
|
21
21
|
# # The full version number of this package.
|
|
22
22
|
# __version__ = "{}.{}.{}{}".format(major_version, minor_version, revision, "-pre.{}".format(prerelease) if development else "")
|
|
23
|
-
__version__ = "6.0.
|
|
23
|
+
__version__ = "6.0.2"
|
|
24
24
|
_v_parts = __version__.split("-")[0].split(".")
|
|
25
25
|
major_version = int(_v_parts[0])
|
|
26
26
|
minor_version = int(_v_parts[1])
|
|
@@ -39,7 +39,7 @@ __author__ = [
|
|
|
39
39
|
]
|
|
40
40
|
|
|
41
41
|
# Program date (when we were last updated). This is changed automatically.
|
|
42
|
-
_last_updated_string = "
|
|
42
|
+
_last_updated_string = "21/08/2024"
|
|
43
43
|
last_updated = datetime.strptime(_last_updated_string, "%d/%m/%Y")
|
|
44
44
|
|
|
45
45
|
# The sys attribute 'frozen' is our flag, '_MEIPASS' is the dir location.
|
|
@@ -28,6 +28,10 @@ class Gaussian_parser(Cclib_parser):
|
|
|
28
28
|
ELAPSED_TIME_HEADER = "Elapsed time:"
|
|
29
29
|
CPU_TIME_HEADER = "Job cpu time:"
|
|
30
30
|
CPU_HEADER = "Will use up to"
|
|
31
|
+
|
|
32
|
+
def __init__(self, *log_files, rwfdump = "rwfdump", **auxiliary_files):
|
|
33
|
+
self.rwfdump = rwfdump
|
|
34
|
+
super().__init__(*log_files, **auxiliary_files)
|
|
31
35
|
|
|
32
36
|
def parse_metadata(self):
|
|
33
37
|
"""
|
|
@@ -108,7 +112,7 @@ class Gaussian_parser(Cclib_parser):
|
|
|
108
112
|
raise Result_unavailable_error("Spin-orbit coupling", "There are no excited states available")
|
|
109
113
|
|
|
110
114
|
# Get a PySOC parser.
|
|
111
|
-
soc_calculator = pysoc.io.SOC.Calculator(self.log_file_path, rwf_file_name = self.auxiliary_files['rwf_file'])
|
|
115
|
+
soc_calculator = pysoc.io.SOC.Calculator(self.log_file_path, rwfdump = self.rwfdump, rwf_file_name = self.auxiliary_files['rwf_file'])
|
|
112
116
|
soc_calculator.calculate()
|
|
113
117
|
SOC_table = soc_calculator.soc_td.SOC
|
|
114
118
|
|
|
@@ -157,7 +157,7 @@ def class_from_log_files(*log_files, format_hint = "auto"):
|
|
|
157
157
|
else:
|
|
158
158
|
return Cclib_parser
|
|
159
159
|
|
|
160
|
-
def from_log_files(*log_files, format_hint = "auto", **auxiliary_files):
|
|
160
|
+
def from_log_files(*log_files, format_hint = "auto", parser_options = {}, **auxiliary_files):
|
|
161
161
|
"""
|
|
162
162
|
Get an output file parser of appropriate type.
|
|
163
163
|
|
|
@@ -170,7 +170,7 @@ def from_log_files(*log_files, format_hint = "auto", **auxiliary_files):
|
|
|
170
170
|
#return class_from_log_files(*found_log_files, format_hint = format_hint).from_logs(*found_log_files, **auxiliary_files)
|
|
171
171
|
|
|
172
172
|
try:
|
|
173
|
-
return class_from_log_files(*found_log_files, format_hint = format_hint).from_logs(*found_log_files, **auxiliary_files)
|
|
173
|
+
return class_from_log_files(*found_log_files, format_hint = format_hint).from_logs(*found_log_files, **parser_options, **auxiliary_files)
|
|
174
174
|
|
|
175
175
|
except Exception:
|
|
176
176
|
if len(found_log_files) == 0:
|
|
@@ -179,7 +179,7 @@ def from_log_files(*log_files, format_hint = "auto", **auxiliary_files):
|
|
|
179
179
|
else:
|
|
180
180
|
raise
|
|
181
181
|
|
|
182
|
-
def parse_calculation(*log_files, options, parse_all = False, format_hint = "auto", keep_archive = False, **auxiliary_files):
|
|
182
|
+
def parse_calculation(*log_files, options, parse_all = False, format_hint = "auto", keep_archive = False, parser_options = {}, **auxiliary_files):
|
|
183
183
|
"""
|
|
184
184
|
Parse a single calculation result.
|
|
185
185
|
|
|
@@ -229,10 +229,10 @@ def parse_calculation(*log_files, options, parse_all = False, format_hint = "aut
|
|
|
229
229
|
open_log_files = archive.open()
|
|
230
230
|
|
|
231
231
|
if parse_all:
|
|
232
|
-
results = from_log_files(*open_log_files, format_hint = format_hint, **auxiliary_files).process_all(options)
|
|
232
|
+
results = from_log_files(*open_log_files, format_hint = format_hint, parser_options = parser_options, **auxiliary_files).process_all(options)
|
|
233
233
|
|
|
234
234
|
else:
|
|
235
|
-
results = from_log_files(*open_log_files, format_hint = format_hint, **auxiliary_files).process(options)
|
|
235
|
+
results = from_log_files(*open_log_files, format_hint = format_hint, parser_options = parser_options, **auxiliary_files).process(options)
|
|
236
236
|
|
|
237
237
|
finally:
|
|
238
238
|
if not keep_archive:
|
|
@@ -255,7 +255,7 @@ def parse_calculation(*log_files, options, parse_all = False, format_hint = "aut
|
|
|
255
255
|
# else:
|
|
256
256
|
# return from_log_files(*open_log_files, format_hint = format_hint, **auxiliary_files).process(options)
|
|
257
257
|
|
|
258
|
-
def multi_parser(log_files, auxiliary_files, *, options, format_hint = "auto", keep_archive = False):
|
|
258
|
+
def multi_parser(log_files, auxiliary_files, *, options, format_hint = "auto", keep_archive = False, parser_options = {},):
|
|
259
259
|
"""
|
|
260
260
|
The inner function which will be called in parallel to parse files.
|
|
261
261
|
"""
|
|
@@ -276,13 +276,13 @@ def multi_parser(log_files, auxiliary_files, *, options, format_hint = "auto", k
|
|
|
276
276
|
logs = (log_files,)
|
|
277
277
|
|
|
278
278
|
try:
|
|
279
|
-
return parse_calculation(*logs, options = options, parse_all = True, format_hint = format_hint, keep_archive = keep_archive, **auxiliary_files)
|
|
279
|
+
return parse_calculation(*logs, options = options, parse_all = True, format_hint = format_hint, keep_archive = keep_archive, parser_options = parser_options, **auxiliary_files)
|
|
280
280
|
|
|
281
281
|
except Exception:
|
|
282
282
|
digichem.log.get_logger().warning("Unable to parse calculation result file '{}'; skipping".format(logs[0]), exc_info = True)
|
|
283
283
|
return None
|
|
284
284
|
|
|
285
|
-
def parse_multiple_calculations(*log_files, auxiliary_files = None, options, pool = None, init_func = None, init_args = None, format_hint = "auto", processes = 1, keep_archive = False):
|
|
285
|
+
def parse_multiple_calculations(*log_files, auxiliary_files = None, options, parser_options = {}, pool = None, init_func = None, init_args = None, format_hint = "auto", processes = 1, keep_archive = False):
|
|
286
286
|
"""
|
|
287
287
|
Parse a number of separate calculation results in parallel.
|
|
288
288
|
|
|
@@ -316,7 +316,7 @@ def parse_multiple_calculations(*log_files, auxiliary_files = None, options, poo
|
|
|
316
316
|
try:
|
|
317
317
|
result_lists = list(
|
|
318
318
|
filterfalse(lambda x: x is None,
|
|
319
|
-
pool.starmap(partial(multi_parser, options = options, format_hint = format_hint, keep_archive = keep_archive), zip_longest(log_files, auxiliary_files, fillvalue = {}))
|
|
319
|
+
pool.starmap(partial(multi_parser, options = options, format_hint = format_hint, keep_archive = keep_archive, parser_options = parser_options), zip_longest(log_files, auxiliary_files, fillvalue = {}))
|
|
320
320
|
#pool.map(partial(multi_parser, options = options, format_hint = format_hint, keep_archive = keep_archive), *transpose(list(zip_longest(log_files, auxiliary_files, fillvalue = {})), 2))
|
|
321
321
|
)
|
|
322
322
|
)
|
|
@@ -332,7 +332,7 @@ def parse_multiple_calculations(*log_files, auxiliary_files = None, options, poo
|
|
|
332
332
|
if own_pool:
|
|
333
333
|
pool.__exit__(None, None, None)
|
|
334
334
|
|
|
335
|
-
def parse_and_merge_calculations(*log_files, auxiliary_files = None, options, format_hint = "auto", inner_pool = None, keep_archive = False):
|
|
335
|
+
def parse_and_merge_calculations(*log_files, auxiliary_files = None, options, parser_options = {}, format_hint = "auto", inner_pool = None, keep_archive = False):
|
|
336
336
|
"""
|
|
337
337
|
Get a single result object by parsing a number of computational log files.
|
|
338
338
|
|
|
@@ -349,7 +349,7 @@ def parse_and_merge_calculations(*log_files, auxiliary_files = None, options, fo
|
|
|
349
349
|
:param auxiliary_files: A list of dictionaries of auxiliary files. The ordering of auxiliary_files should match that of log_files.
|
|
350
350
|
:return: A single Result_set object (or child thereof).
|
|
351
351
|
"""
|
|
352
|
-
parsed_results = parse_multiple_calculations(*log_files, options = options, format_hint = format_hint, pool = inner_pool, auxiliary_files = auxiliary_files, keep_archive = keep_archive)
|
|
352
|
+
parsed_results = parse_multiple_calculations(*log_files, options = options, parser_options = parser_options, format_hint = format_hint, pool = inner_pool, auxiliary_files = auxiliary_files, keep_archive = keep_archive)
|
|
353
353
|
|
|
354
354
|
# If we asked for archives as well, unpack.
|
|
355
355
|
if keep_archive:
|
|
@@ -371,18 +371,18 @@ def parse_and_merge_calculations(*log_files, auxiliary_files = None, options, fo
|
|
|
371
371
|
else:
|
|
372
372
|
return parsed_results
|
|
373
373
|
|
|
374
|
-
def multi_merger_parser(log_files, auxiliary_files, *, options, format_hint = "auto" , inner_pool = None, keep_archive = False):
|
|
374
|
+
def multi_merger_parser(log_files, auxiliary_files, *, options, parser_options = {}, format_hint = "auto" , inner_pool = None, keep_archive = False):
|
|
375
375
|
"""
|
|
376
376
|
The inner function which will be called in parallel to parse files.
|
|
377
377
|
"""
|
|
378
378
|
try:
|
|
379
|
-
return parse_and_merge_calculations(*log_files, options = options, format_hint = format_hint, inner_pool = inner_pool, auxiliary_files = auxiliary_files, keep_archive = keep_archive)
|
|
379
|
+
return parse_and_merge_calculations(*log_files, options = options, parser_options = parser_options, format_hint = format_hint, inner_pool = inner_pool, auxiliary_files = auxiliary_files, keep_archive = keep_archive)
|
|
380
380
|
|
|
381
381
|
except Exception:
|
|
382
382
|
digichem.log.get_logger().warning("Unable to parse and merge calculation results '{}'; skipping".format(", ".join([str(log_file) for log_file in log_files])), exc_info = True)
|
|
383
383
|
return None
|
|
384
384
|
|
|
385
|
-
def parse_and_merge_multiple_calculations(*multiple_results, options, format_hint = "auto", init_func = None, init_args = None, processes = None, auxiliary_files = None, keep_archive = False):
|
|
385
|
+
def parse_and_merge_multiple_calculations(*multiple_results, options, parser_options = {}, format_hint = "auto", init_func = None, init_args = None, processes = None, auxiliary_files = None, keep_archive = False):
|
|
386
386
|
"""
|
|
387
387
|
Parse a number of separate calculation results in parallel, merging some or all of the results into combined result sets.
|
|
388
388
|
|
|
@@ -405,7 +405,7 @@ def parse_and_merge_multiple_calculations(*multiple_results, options, format_hin
|
|
|
405
405
|
|
|
406
406
|
result_lists = list(
|
|
407
407
|
filterfalse(lambda x: x is None,
|
|
408
|
-
map(partial(multi_merger_parser, options = options, format_hint = format_hint, inner_pool = pool, keep_archive = keep_archive), multiple_results, auxiliary_files)
|
|
408
|
+
map(partial(multi_merger_parser, options = options, parser_options = parser_options, format_hint = format_hint, inner_pool = pool, keep_archive = keep_archive), multiple_results, auxiliary_files)
|
|
409
409
|
)
|
|
410
410
|
)
|
|
411
411
|
|
|
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
|
|
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
|
{digichem_core-6.0.1 → digichem_core-6.0.2}/digichem/data/vmd/generate_combined_orbital_images.tcl
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|