MoleditPy-linux 1.16.2__tar.gz → 1.16.3__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.
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/PKG-INFO +16 -2
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/README.md +15 -1
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/pyproject.toml +1 -1
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/PKG-INFO +16 -2
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/constants.py +1 -1
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/molecule_scene.py +92 -23
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/settings_dialog.py +3 -3
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/setup.cfg +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/SOURCES.txt +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/dependency_links.txt +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/entry_points.txt +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/requires.txt +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/top_level.txt +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/__init__.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/__main__.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/main.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/__init__.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/about_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/align_plane_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/alignment_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/analysis_window.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/angle_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.icns +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.ico +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.png +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/atom_item.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/bond_item.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/bond_length_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/calculation_worker.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/color_settings_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/constrained_optimization_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/custom_interactor_style.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/custom_qt_interactor.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/dialog3_d_picking_mixin.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/dihedral_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_app_state.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_compute.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_dialog_manager.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_edit_3d.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_edit_actions.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_export.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_main_init.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_molecular_parsers.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_project_io.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_string_importers.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_ui_manager.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_view_3d.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_view_loaders.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/mirror_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/molecular_data.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/move_group_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/periodic_table_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/planarize_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/template_preview_item.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/template_preview_view.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/translation_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/user_template_dialog.py +0 -0
- {moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/zoomable_view.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 1.16.
|
|
3
|
+
Version: 1.16.3
|
|
4
4
|
Summary: A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.
|
|
5
5
|
Author-email: HiroYokoyama <titech.yoko.hiro@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/HiroYokoyama/python_molecular_editor
|
|
@@ -109,7 +109,14 @@ For detailed instructions, please refer to the project [Wiki](https://github.com
|
|
|
109
109
|
moleditpy-installer
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
|
|
113
|
+
To enable Open Babel features (e.g., alternative 3D structure generation), please install the package manually.
|
|
114
|
+
**Note:** Open Babel is licensed under **GPL v2**. Installing this package combines GPL code with this software.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
pip install "moleditpy[openbabel]"
|
|
119
|
+
```
|
|
113
120
|
|
|
114
121
|
#### Running the Application
|
|
115
122
|
|
|
@@ -225,6 +232,13 @@ This project is licensed under the **Apache-2.0 License**. See the `LICENSE` fil
|
|
|
225
232
|
moleditpy-installer
|
|
226
233
|
```
|
|
227
234
|
|
|
235
|
+
Open Babel 機能(代替的な3D構造生成など)を有効にする場合は、以下のコマンドで個別にインストールしてください。
|
|
236
|
+
**注意:** Open Babel は **GPL v2** ライセンスです。このパッケージをインストールすると、GPLの条項が適用される可能性があります。
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
pip install "moleditpy[openbabel]"
|
|
240
|
+
```
|
|
241
|
+
|
|
228
242
|
#### アプリケーションの起動
|
|
229
243
|
|
|
230
244
|
```bash
|
|
@@ -84,7 +84,14 @@ For detailed instructions, please refer to the project [Wiki](https://github.com
|
|
|
84
84
|
moleditpy-installer
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
|
|
88
|
+
To enable Open Babel features (e.g., alternative 3D structure generation), please install the package manually.
|
|
89
|
+
**Note:** Open Babel is licensed under **GPL v2**. Installing this package combines GPL code with this software.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install "moleditpy[openbabel]"
|
|
94
|
+
```
|
|
88
95
|
|
|
89
96
|
#### Running the Application
|
|
90
97
|
|
|
@@ -200,6 +207,13 @@ This project is licensed under the **Apache-2.0 License**. See the `LICENSE` fil
|
|
|
200
207
|
moleditpy-installer
|
|
201
208
|
```
|
|
202
209
|
|
|
210
|
+
Open Babel 機能(代替的な3D構造生成など)を有効にする場合は、以下のコマンドで個別にインストールしてください。
|
|
211
|
+
**注意:** Open Babel は **GPL v2** ライセンスです。このパッケージをインストールすると、GPLの条項が適用される可能性があります。
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
pip install "moleditpy[openbabel]"
|
|
215
|
+
```
|
|
216
|
+
|
|
203
217
|
#### アプリケーションの起動
|
|
204
218
|
|
|
205
219
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 1.16.
|
|
3
|
+
Version: 1.16.3
|
|
4
4
|
Summary: A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.
|
|
5
5
|
Author-email: HiroYokoyama <titech.yoko.hiro@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/HiroYokoyama/python_molecular_editor
|
|
@@ -109,7 +109,14 @@ For detailed instructions, please refer to the project [Wiki](https://github.com
|
|
|
109
109
|
moleditpy-installer
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
|
|
113
|
+
To enable Open Babel features (e.g., alternative 3D structure generation), please install the package manually.
|
|
114
|
+
**Note:** Open Babel is licensed under **GPL v2**. Installing this package combines GPL code with this software.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
pip install "moleditpy[openbabel]"
|
|
119
|
+
```
|
|
113
120
|
|
|
114
121
|
#### Running the Application
|
|
115
122
|
|
|
@@ -225,6 +232,13 @@ This project is licensed under the **Apache-2.0 License**. See the `LICENSE` fil
|
|
|
225
232
|
moleditpy-installer
|
|
226
233
|
```
|
|
227
234
|
|
|
235
|
+
Open Babel 機能(代替的な3D構造生成など)を有効にする場合は、以下のコマンドで個別にインストールしてください。
|
|
236
|
+
**注意:** Open Babel は **GPL v2** ライセンスです。このパッケージをインストールすると、GPLの条項が適用される可能性があります。
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
pip install "moleditpy[openbabel]"
|
|
240
|
+
```
|
|
241
|
+
|
|
228
242
|
#### アプリケーションの起動
|
|
229
243
|
|
|
230
244
|
```bash
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/molecule_scene.py
RENAMED
|
@@ -727,61 +727,130 @@ class MoleculeScene(QGraphicsScene):
|
|
|
727
727
|
|
|
728
728
|
# --- フューズされた辺の数による条件分岐 ---
|
|
729
729
|
if len(existing_orders) >= 2:
|
|
730
|
-
|
|
731
|
-
# (この場合、新しい環を交互配置にするのは難しく、単に既存の構造を壊さないことを優先)
|
|
730
|
+
|
|
732
731
|
for rot in range(num_points):
|
|
733
|
-
|
|
734
|
-
|
|
732
|
+
match_double_count = 0
|
|
733
|
+
match_bonus = 0
|
|
734
|
+
mismatch_penalty = 0
|
|
735
|
+
|
|
736
|
+
# 【新規追加】接続部(Legs)の安全性チェック
|
|
737
|
+
# フューズ領域の両隣(テンプレート側)が「単結合(1)」であることを強く推奨する
|
|
738
|
+
# これにより、既存構造との接続点での原子価オーバー(手が5本になる)を防ぐ
|
|
739
|
+
safe_connection_score = 0
|
|
740
|
+
|
|
741
|
+
# フューズ領域の開始と終了を探す(インデックス集合から判定)
|
|
742
|
+
fused_indices = sorted(list(existing_orders.keys()))
|
|
743
|
+
# 連続領域と仮定して、端のインデックスを取得
|
|
744
|
+
# (0と5がつながっている環状のケースも考慮すべきだが、簡易的に最小/最大で判定し、
|
|
745
|
+
# もし飛び地なら不整合ペナルティで自然と落ちる)
|
|
746
|
+
|
|
747
|
+
# 簡易的な隣接チェック:
|
|
748
|
+
# フューズに使われる辺集合に含まれない「その隣」の辺を見る
|
|
749
|
+
for k in existing_orders:
|
|
750
|
+
# 左隣を見る
|
|
751
|
+
prev_idx = (k - 1 + rot) % num_points
|
|
752
|
+
# 右隣を見る
|
|
753
|
+
next_idx = (k + 1 + rot) % num_points
|
|
754
|
+
|
|
755
|
+
# もし隣がフューズ領域外(=接続部)なら、その次数をチェック
|
|
756
|
+
# 注意: existing_ordersのキーは「配置位置(k)」
|
|
757
|
+
# rotはテンプレートのズレ。
|
|
758
|
+
# テンプレート上の該当エッジの次数は orig_orders[(neighbor_k + rot)] ではなく
|
|
759
|
+
# orig_orders[neighbor_template_index]
|
|
760
|
+
|
|
761
|
+
# 正確なロジック:
|
|
762
|
+
# 今、配置位置 k にテンプレートの bond (k+rot) が来ている。
|
|
763
|
+
# 配置位置 k の「隣のボンド」ではなく、
|
|
764
|
+
# 「テンプレート上で」そのボンドの両隣にあるボンドが、今回のフューズに使われていないか確認する。
|
|
765
|
+
pass
|
|
766
|
+
|
|
767
|
+
# --- シンプルな実装: 全ての非フューズ辺(外周になる辺)をチェック ---
|
|
768
|
+
# 「フューズに使われていない辺」が単結合か二重結合かで加点
|
|
769
|
+
# ピレンの場合(3辺フューズ)、残り3辺が外周。
|
|
770
|
+
# ベンゼン(D-S-D-S-D-S)において、D-S-Dでフューズすると、残りはS-D-S。
|
|
771
|
+
# 接合部(Legs)にあたるのは、残りのS-D-Sの両端のS。これが重要。
|
|
772
|
+
|
|
773
|
+
# テンプレートの結合次数配列
|
|
774
|
+
current_template_orders = [orig_orders[(i + rot) % num_points] for i in range(num_points)]
|
|
775
|
+
|
|
776
|
+
# フューズ領域の両端を特定するために、
|
|
777
|
+
# 「フューズしているk」に対応するテンプレート側のインデックスを集める
|
|
778
|
+
used_template_indices = set((k + rot) % num_points for k in existing_orders)
|
|
779
|
+
|
|
780
|
+
# テンプレート上で「使われている領域」の両隣(接続部)が「1(単結合)」なら超高得点
|
|
781
|
+
for t_idx in used_template_indices:
|
|
782
|
+
# そのボンドのテンプレート上の左隣
|
|
783
|
+
adj_l = (t_idx - 1) % num_points
|
|
784
|
+
# そのボンドのテンプレート上の右隣
|
|
785
|
+
adj_r = (t_idx + 1) % num_points
|
|
786
|
+
|
|
787
|
+
# もし隣が「使われていない」なら、それは接続部である
|
|
788
|
+
if adj_l not in used_template_indices:
|
|
789
|
+
if orig_orders[adj_l] == 1: safe_connection_score += 5000
|
|
790
|
+
|
|
791
|
+
if adj_r not in used_template_indices:
|
|
792
|
+
if orig_orders[adj_r] == 1: safe_connection_score += 5000
|
|
793
|
+
|
|
794
|
+
# 既存のスコア計算
|
|
795
|
+
for k, exist_order in existing_orders.items():
|
|
796
|
+
template_ord = orig_orders[(k + rot) % num_points]
|
|
797
|
+
if template_ord == exist_order:
|
|
798
|
+
match_bonus += 100
|
|
799
|
+
if exist_order == 2: match_double_count += 1
|
|
800
|
+
else:
|
|
801
|
+
# 不一致でも、Legsが安全なら許容したいのでペナルティは控えめに、
|
|
802
|
+
# または safe_connection_score が圧倒的に勝つようにする
|
|
803
|
+
mismatch_penalty += 50
|
|
804
|
+
|
|
805
|
+
# 最終スコア: 接続部の安全性を最優先
|
|
806
|
+
current_score = safe_connection_score + (match_double_count * 1000) + match_bonus - mismatch_penalty
|
|
807
|
+
|
|
735
808
|
if current_score > max_score:
|
|
736
809
|
max_score = current_score
|
|
737
810
|
best_rot = rot
|
|
738
811
|
|
|
739
812
|
elif len(existing_orders) == 1:
|
|
740
|
-
# 1
|
|
741
|
-
|
|
742
|
-
# フューズされた辺のインデックスと次数を取得
|
|
813
|
+
# 1辺フューズ
|
|
743
814
|
k_fuse = next(iter(existing_orders.keys()))
|
|
744
815
|
exist_order = existing_orders[k_fuse]
|
|
745
816
|
|
|
746
|
-
# 目標: フューズされた辺の両隣(k-1とk+1)に来るテンプレートの次数が、既存の辺の次数と逆であること
|
|
747
|
-
# k_adj_1 -> (k_fuse - 1) % 6
|
|
748
|
-
# k_adj_2 -> (k_fuse + 1) % 6
|
|
749
|
-
|
|
750
817
|
for rot in range(num_points):
|
|
751
818
|
current_score = 0
|
|
752
819
|
rotated_template_order = orig_orders[(k_fuse + rot) % num_points]
|
|
753
820
|
|
|
754
|
-
# 1.
|
|
821
|
+
# 1. 接合部の次数マッチング
|
|
822
|
+
|
|
823
|
+
# パターンA: 交互配置(既存と逆)
|
|
755
824
|
if (exist_order == 1 and rotated_template_order == 2) or \
|
|
756
825
|
(exist_order == 2 and rotated_template_order == 1):
|
|
757
|
-
current_score += 100
|
|
826
|
+
current_score += 100
|
|
758
827
|
|
|
759
|
-
# 2
|
|
760
|
-
#
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
828
|
+
# 【追加変更点2】二重結合の重ね合わせ(共役維持)
|
|
829
|
+
# 既存が二重結合で、テンプレートも二重結合なら、ここで1つ消費される
|
|
830
|
+
elif (exist_order == 2 and rotated_template_order == 2):
|
|
831
|
+
current_score += 100
|
|
832
|
+
|
|
833
|
+
# 2. 両隣の辺の次数チェック(交互配置の維持を確認)
|
|
764
834
|
m_adj1 = (k_fuse - 1 + rot) % num_points
|
|
765
835
|
m_adj2 = (k_fuse + 1 + rot) % num_points
|
|
766
|
-
|
|
767
836
|
neighbor_order_1 = orig_orders[m_adj1]
|
|
768
837
|
neighbor_order_2 = orig_orders[m_adj2]
|
|
769
838
|
|
|
770
|
-
# 既存が単結合(1)の場合、両隣は二重結合(2)であってほしい
|
|
771
839
|
if exist_order == 1:
|
|
840
|
+
# 接合部が単なら、隣は二重であってほしい
|
|
772
841
|
if neighbor_order_1 == 2: current_score += 50
|
|
773
842
|
if neighbor_order_2 == 2: current_score += 50
|
|
774
843
|
|
|
775
|
-
# 既存が二重結合(2)の場合、両隣は単結合(1)であってほしい
|
|
776
844
|
elif exist_order == 2:
|
|
845
|
+
# 接合部が二重なら、隣は単であってほしい
|
|
777
846
|
if neighbor_order_1 == 1: current_score += 50
|
|
778
847
|
if neighbor_order_2 == 1: current_score += 50
|
|
779
848
|
|
|
780
|
-
# 3.
|
|
849
|
+
# 3. タイブレーク(他の接触しない辺との整合性など)
|
|
781
850
|
for k, e_order in existing_orders.items():
|
|
782
851
|
if k != k_fuse:
|
|
783
852
|
r_t_order = orig_orders[(k + rot) % num_points]
|
|
784
|
-
if r_t_order == e_order: current_score += 10
|
|
853
|
+
if r_t_order == e_order: current_score += 10
|
|
785
854
|
|
|
786
855
|
if current_score > max_score:
|
|
787
856
|
max_score = current_score
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/settings_dialog.py
RENAMED
|
@@ -204,7 +204,7 @@ class SettingsDialog(QDialog):
|
|
|
204
204
|
|
|
205
205
|
# 化学チェックスキップオプション(otherタブに移動)
|
|
206
206
|
self.skip_chem_checks_checkbox = QCheckBox()
|
|
207
|
-
self.skip_chem_checks_checkbox.setToolTip("When enabled, file import will try to ignore chemical/sanitization errors and allow viewing malformed files.")
|
|
207
|
+
self.skip_chem_checks_checkbox.setToolTip("When enabled, XYZ file import will try to ignore chemical/sanitization errors and allow viewing malformed files.")
|
|
208
208
|
# Immediately persist change to settings when user toggles the checkbox
|
|
209
209
|
try:
|
|
210
210
|
self.skip_chem_checks_checkbox.stateChanged.connect(lambda s: self._on_skip_chem_checks_changed(s))
|
|
@@ -213,7 +213,7 @@ class SettingsDialog(QDialog):
|
|
|
213
213
|
|
|
214
214
|
# Add the checkbox to the other tab's form
|
|
215
215
|
try:
|
|
216
|
-
self.other_form_layout.addRow("Skip chemistry checks on import
|
|
216
|
+
self.other_form_layout.addRow("Skip chemistry checks on import XYZ file:", self.skip_chem_checks_checkbox)
|
|
217
217
|
except Exception:
|
|
218
218
|
pass
|
|
219
219
|
|
|
@@ -227,7 +227,7 @@ class SettingsDialog(QDialog):
|
|
|
227
227
|
self.always_ask_charge_checkbox = QCheckBox()
|
|
228
228
|
self.always_ask_charge_checkbox.setToolTip("Prompt for overall molecular charge when importing XYZ files instead of silently trying charge=0 first.")
|
|
229
229
|
try:
|
|
230
|
-
self.other_form_layout.addRow("Always ask molecular charge on import:", self.always_ask_charge_checkbox)
|
|
230
|
+
self.other_form_layout.addRow("Always ask molecular charge on import XYZ file:", self.always_ask_charge_checkbox)
|
|
231
231
|
except Exception:
|
|
232
232
|
pass
|
|
233
233
|
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/MoleditPy_linux.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/about_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/align_plane_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/alignment_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/analysis_window.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/angle_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.icns
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.ico
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/assets/icon.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/bond_length_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/calculation_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/dihedral_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_compute.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_edit_3d.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_export.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/main_window_view_3d.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/mirror_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/molecular_data.py
RENAMED
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/move_group_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/planarize_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/translation_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.16.2 → moleditpy_linux-1.16.3}/src/moleditpy_linux/modules/zoomable_view.py
RENAMED
|
File without changes
|