chemparseplot 1.10.0__tar.gz → 1.10.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.
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/PKG-INFO +1 -1
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/_version.py +2 -2
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/landscape.py +12 -2
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/neb.py +6 -1
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/.gitignore +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/LICENSE +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/api.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/chemgp_hdf5.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/chemgp_jsonl.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/converter.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/_trajectory_common.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/con_io.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/dimer_trajectory.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/frame_series.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/gprd.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/min_trajectory.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/minimization.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/neb.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/saddle_search.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/eon/stitch.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/file_.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/grammar/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/grammar/_deps.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/grammar/orca_text.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/grammar/xyz.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/neb_utils.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/_opi.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/geomscan.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/neb/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/neb/interp.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/orca/neb/opi_parser.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/patterns.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/plumed.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/projection.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/sella/saddle_search.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/trajectory/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/trajectory/hdf5.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/trajectory/neb.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/parse/types.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/chemgp.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/disconnectivity.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/geomscan.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/optimization.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/plumed.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/structs.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/plot/theme.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/units.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/chemparseplot/util.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/pyproject.toml +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/readme.md +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/_optional_imports.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/conftest.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/fixtures/h2mol.xyz +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/fixtures/orca_energy_coords_snippet.out +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/fixtures_geomscan_snippet.txt +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/_con_fixtures.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/grammar/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/grammar/test_grammar_deps.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/grammar/test_orca_text_grammar.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/grammar/test_xyz_grammar.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/orca/test_geomscan.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/orca/test_interp.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_chemgp_hdf5.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_chemgp_jsonl_types.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_con_io.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_converter.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_dimer_trajectory.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_eon_neb_types.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_eon_trajectory_common.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_frame_series.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_min_trajectory.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_minimization_result.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_neb_stitch.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_neb_utils.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_orca_public_api.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_parser_types.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_patterns.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_plumed.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_projection.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_readcon_boundary.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_saddle_results.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_sella_saddle.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_trajectory_hdf5.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/parse/test_trajectory_neb.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/__init__.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_chemgp_utils.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_landscape_disconnectivity.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_neb_helpers.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_neb_renderers.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_optimization.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_orca_neb_payload.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_projection_refactor.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_strip_rendering.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_structs_units.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/plot/test_surface_auto_thin.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/test_coverage_batch.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/test_full_coverage.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/test_public_api.py +0 -0
- {chemparseplot-1.10.0 → chemparseplot-1.10.2}/tests/tutorials/test_chemparseplot.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chemparseplot
|
|
3
|
-
Version: 1.10.
|
|
3
|
+
Version: 1.10.2
|
|
4
4
|
Summary: Parsers and plotting tools for computational chemistry
|
|
5
5
|
Project-URL: Documentation, https://chemparseplot.rgoswami.me
|
|
6
6
|
Project-URL: Issues, https://github.com/HaoZeke/chemparseplot/issues
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.10.
|
|
22
|
-
__version_tuple__ = version_tuple = (1, 10,
|
|
21
|
+
__version__ = version = '1.10.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 10, 2)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -170,9 +170,19 @@ def run_sketchmap(
|
|
|
170
170
|
for line in lm_raw.splitlines()
|
|
171
171
|
if line.strip() and not line.startswith("#")
|
|
172
172
|
]
|
|
173
|
-
idx =
|
|
173
|
+
idx = [int(r[0]) for r in rows]
|
|
174
|
+
# Guarantee the pinned rows: dimlandmark's -ifirst only seeds the greedy
|
|
175
|
+
# walk, and farthest-point sampling skips anything near an already-kept
|
|
176
|
+
# point, which is exactly where a pinned reference's twin sits.
|
|
177
|
+
selected = [i for i in idx if i >= n_pinned]
|
|
178
|
+
keep = list(range(n_pinned)) + selected
|
|
179
|
+
keep = keep[:max(n_landmark, n_pinned)]
|
|
180
|
+
idx = np.array(keep)
|
|
174
181
|
(workdir / "landmarks.dat").write_text(
|
|
175
|
-
"\n".join(
|
|
182
|
+
"\n".join(
|
|
183
|
+
" ".join(f"{v:.8f}" for v in matrix[i]) for i in keep
|
|
184
|
+
)
|
|
185
|
+
+ "\n"
|
|
176
186
|
)
|
|
177
187
|
proj = subprocess.run( # noqa: S603
|
|
178
188
|
[
|
|
@@ -624,7 +624,12 @@ def plot_structure_strip(
|
|
|
624
624
|
ax.set_ylim(0, ax_h_px)
|
|
625
625
|
|
|
626
626
|
per_col_px = ax_w_px / max(n_cols, 1)
|
|
627
|
-
|
|
627
|
+
# The band must hold the tallest label: multiline labels previously
|
|
628
|
+
# overflowed a fixed 1.8-line reservation into the structure images.
|
|
629
|
+
max_label_lines = max(
|
|
630
|
+
(str(lbl).count("\n") + 1 for lbl in labels), default=1
|
|
631
|
+
) if labels else 1
|
|
632
|
+
label_band_px = label_fontsize * fig.dpi / 72 * (0.9 + 1.35 * max_label_lines)
|
|
628
633
|
top_padding_px = 6.0
|
|
629
634
|
bottom_padding_px = 6.0
|
|
630
635
|
row_gap_px = 10.0
|
|
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
|
|
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
|