aromatools 0.2.0__tar.gz → 0.2.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.
Potentially problematic release.
This version of aromatools might be problematic. Click here for more details.
- {aromatools-0.2.0 → aromatools-0.2.2}/PKG-INFO +1 -1
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/aromagnetic.py +20 -16
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/PKG-INFO +1 -1
- {aromatools-0.2.0 → aromatools-0.2.2}/setup.py +1 -1
- {aromatools-0.2.0 → aromatools-0.2.2}/LICENSE +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/README.md +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/__init__.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/arogeometric/__init__.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/arogeometric/__main__.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/arogeometric/arogeometric.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/arogeometric/reporter.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/__init__.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/__main__.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/amg_read_input.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/amg_write_inputs.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/check_out.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/cube_to_vtk.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/extrac_values.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_cube.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_grid.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_integral.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_mo.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_nics_scan.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/get_profile.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/insert_basis.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/make_input.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/nics_scan.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/parser_mo.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/pseudo_pi.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/reset_calc.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/sum_rest.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools/aromagnetic/tools.py +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/SOURCES.txt +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/dependency_links.txt +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/entry_points.txt +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/requires.txt +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/aromatools.egg-info/top_level.txt +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/pyproject.toml +0 -0
- {aromatools-0.2.0 → aromatools-0.2.2}/setup.cfg +0 -0
|
@@ -6,6 +6,11 @@ import sys
|
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
|
|
8
8
|
from .amg_read_input import read_input
|
|
9
|
+
from .reset_calc import main as reset_calc_main
|
|
10
|
+
from .check_out import main as check_out_main
|
|
11
|
+
from .sum_rest import main as sum_rest_main
|
|
12
|
+
|
|
13
|
+
'''
|
|
9
14
|
from .get_cube import main as get_cube_main
|
|
10
15
|
from .get_grid import main as get_grid_main
|
|
11
16
|
from .get_integral import main as get_integral_main
|
|
@@ -14,10 +19,7 @@ from .get_nics_scan import main as get_nics_scan_main
|
|
|
14
19
|
from .get_profile import main as get_profile_main
|
|
15
20
|
from .extrac_values import main as extract_values_main
|
|
16
21
|
from .nics_scan import main as nics_scan_main
|
|
17
|
-
|
|
18
|
-
from .check_out import main as check_out_main
|
|
19
|
-
from .sum_rest import main as sum_rest_main
|
|
20
|
-
|
|
22
|
+
'''
|
|
21
23
|
|
|
22
24
|
BANNER = r"""
|
|
23
25
|
======================================================================
|
|
@@ -127,9 +129,6 @@ def keyword_needs_generic_basis(cfg):
|
|
|
127
129
|
if re.search(r"\bGEN(ECP)?\b", kline, flags=re.IGNORECASE):
|
|
128
130
|
return True
|
|
129
131
|
|
|
130
|
-
if re.search(r"\bPSEUDO\s*=\s*READ\b", kline, flags=re.IGNORECASE):
|
|
131
|
-
return True
|
|
132
|
-
|
|
133
132
|
return False
|
|
134
133
|
|
|
135
134
|
|
|
@@ -176,32 +175,36 @@ def run_work():
|
|
|
176
175
|
ensure_basis_if_needed(cfg)
|
|
177
176
|
|
|
178
177
|
if active == "GRID_MODULE":
|
|
178
|
+
from .get_grid import main as get_grid_main
|
|
179
179
|
get_grid_main()
|
|
180
180
|
elif active == "PROFILE_MODULE":
|
|
181
|
+
from .get_profile import main as get_profile_main
|
|
181
182
|
get_profile_main()
|
|
182
183
|
elif active == "NICS_SCAN_XY_MODULE":
|
|
184
|
+
from .nics_scan import main as get_profile_main
|
|
183
185
|
nics_scan_main()
|
|
184
186
|
else:
|
|
185
187
|
raise SystemExit("ERROR: unknown module.")
|
|
186
188
|
|
|
187
|
-
if keyword_needs_generic_basis(cfg):
|
|
188
|
-
insert_basis_main()
|
|
189
|
-
|
|
190
189
|
|
|
191
190
|
def run_analysis():
|
|
192
191
|
cfg = _read_cfg()
|
|
193
192
|
active = detect_active_module(cfg)
|
|
194
193
|
|
|
195
194
|
if active == "GRID_MODULE":
|
|
195
|
+
from .get_cube import main as get_cube_main
|
|
196
196
|
get_cube_main()
|
|
197
197
|
return
|
|
198
198
|
|
|
199
199
|
if active == "PROFILE_MODULE":
|
|
200
|
+
from .extrac_values import main as extract_values_main
|
|
201
|
+
from .get_integral import main as get_integral_main
|
|
200
202
|
extract_values_main()
|
|
201
203
|
get_integral_main()
|
|
202
204
|
return
|
|
203
205
|
|
|
204
206
|
if active == "NICS_SCAN_XY_MODULE":
|
|
207
|
+
from .get_nics_scan import main as get_nics_scan_main
|
|
205
208
|
get_nics_scan_main()
|
|
206
209
|
return
|
|
207
210
|
|
|
@@ -216,6 +219,7 @@ def run_mo():
|
|
|
216
219
|
if program != "GAUSSIAN":
|
|
217
220
|
raise SystemExit("ERROR: mo_amg is currently implemented only for Gaussian.")
|
|
218
221
|
|
|
222
|
+
from .get_mo import main as get_mo_main
|
|
219
223
|
get_mo_main()
|
|
220
224
|
|
|
221
225
|
|
|
@@ -227,32 +231,32 @@ def dispatch(exe_name, args):
|
|
|
227
231
|
return
|
|
228
232
|
|
|
229
233
|
if exe == "work_amg":
|
|
230
|
-
print_banner()
|
|
234
|
+
# print_banner()
|
|
231
235
|
run_work()
|
|
232
236
|
return
|
|
233
237
|
|
|
234
238
|
if exe == "analyze_amg":
|
|
235
|
-
print_banner()
|
|
239
|
+
# print_banner()
|
|
236
240
|
run_analysis()
|
|
237
241
|
return
|
|
238
242
|
|
|
239
243
|
if exe == "mo_amg":
|
|
240
|
-
print_banner()
|
|
244
|
+
# print_banner()
|
|
241
245
|
run_mo()
|
|
242
246
|
return
|
|
243
247
|
|
|
244
248
|
if exe == "reset":
|
|
245
|
-
print_banner()
|
|
249
|
+
# print_banner()
|
|
246
250
|
reset_calc_main()
|
|
247
251
|
return
|
|
248
252
|
|
|
249
253
|
if exe == "check_outs":
|
|
250
|
-
print_banner()
|
|
254
|
+
# print_banner()
|
|
251
255
|
_run_check_out_main(args)
|
|
252
256
|
return
|
|
253
257
|
|
|
254
258
|
if exe in {"add", "sub"}:
|
|
255
|
-
print_banner()
|
|
259
|
+
# print_banner()
|
|
256
260
|
if len(args) != 2:
|
|
257
261
|
raise SystemExit(
|
|
258
262
|
f"ERROR: '{exe}' requires exactly 2 files.\n"
|
|
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name="aromatools",
|
|
9
|
-
version="0.2.
|
|
9
|
+
version="0.2.2",
|
|
10
10
|
packages=find_packages(),
|
|
11
11
|
description="Python tools for aromaticity analysis using geometric and magnetic criteria",
|
|
12
12
|
long_description=long_description,
|
|
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
|