MoleditPy 2.2.0a3__tar.gz → 2.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.
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/PKG-INFO +1 -1
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/pyproject.toml +1 -1
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/PKG-INFO +1 -1
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/constants.py +1 -1
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_main_init.py +1 -1
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/plugin_manager_window.py +8 -5
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/LICENSE +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/README.md +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/setup.cfg +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/SOURCES.txt +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/dependency_links.txt +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/entry_points.txt +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/requires.txt +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/MoleditPy.egg-info/top_level.txt +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/__init__.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/__main__.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/main.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/__init__.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/about_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/align_plane_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/alignment_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/analysis_window.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/angle_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/assets/icon.icns +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/assets/icon.ico +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/assets/icon.png +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/atom_item.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/bond_item.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/bond_length_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/calculation_worker.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/color_settings_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/constrained_optimization_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/custom_interactor_style.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/custom_qt_interactor.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/dialog3_d_picking_mixin.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/dihedral_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_app_state.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_compute.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_dialog_manager.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_edit_3d.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_edit_actions.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_export.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_molecular_parsers.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_project_io.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_string_importers.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_ui_manager.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_view_3d.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_view_loaders.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/mirror_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/molecular_data.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/molecule_scene.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/move_group_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/periodic_table_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/planarize_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/plugin_interface.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/plugin_manager.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/settings_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/template_preview_item.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/template_preview_view.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/translation_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/user_template_dialog.py +0 -0
- {moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/zoomable_view.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
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
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
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
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -1822,7 +1822,7 @@ class MainWindowMainInit(object):
|
|
|
1822
1822
|
current_menu = self.menuBar().addMenu(top_level_title)
|
|
1823
1823
|
|
|
1824
1824
|
# Traverse rest
|
|
1825
|
-
for part in parts[1
|
|
1825
|
+
for part in parts[1:-1]:
|
|
1826
1826
|
found_sub = False
|
|
1827
1827
|
for act in current_menu.actions():
|
|
1828
1828
|
if act.menu() and act.text().replace('&', '') == part:
|
|
@@ -85,7 +85,9 @@ class PluginManagerWindow(QDialog):
|
|
|
85
85
|
|
|
86
86
|
self.table.setRowCount(len(plugins))
|
|
87
87
|
for row, p in enumerate(plugins):
|
|
88
|
-
|
|
88
|
+
status_item = QTableWidgetItem(str(p.get('status', 'Unknown')))
|
|
89
|
+
status_item.setTextAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
90
|
+
self.table.setItem(row, 0, status_item)
|
|
89
91
|
self.table.setItem(row, 1, QTableWidgetItem(str(p.get('name', 'Unknown'))))
|
|
90
92
|
self.table.setItem(row, 2, QTableWidgetItem(str(p.get('version', ''))))
|
|
91
93
|
self.table.setItem(row, 3, QTableWidgetItem(str(p.get('author', ''))))
|
|
@@ -108,7 +110,7 @@ class PluginManagerWindow(QDialog):
|
|
|
108
110
|
if status.startswith("Error"):
|
|
109
111
|
color = Qt.GlobalColor.red
|
|
110
112
|
elif status == "Loaded":
|
|
111
|
-
color = Qt.GlobalColor.
|
|
113
|
+
color = Qt.GlobalColor.darkGreen
|
|
112
114
|
elif status == "No Entry Point":
|
|
113
115
|
color = Qt.GlobalColor.gray
|
|
114
116
|
|
|
@@ -120,7 +122,7 @@ class PluginManagerWindow(QDialog):
|
|
|
120
122
|
if hasattr(self, 'btn_remove'):
|
|
121
123
|
self.btn_remove.setEnabled(has_selection)
|
|
122
124
|
|
|
123
|
-
def on_reload(self):
|
|
125
|
+
def on_reload(self, silent=False):
|
|
124
126
|
# Trigger reload in main manager
|
|
125
127
|
if self.plugin_manager.main_window:
|
|
126
128
|
self.plugin_manager.discover_plugins(self.plugin_manager.main_window)
|
|
@@ -132,7 +134,8 @@ class PluginManagerWindow(QDialog):
|
|
|
132
134
|
# We will handle UI rebuild in the main window code by observing or callback.
|
|
133
135
|
|
|
134
136
|
# For immediate feedback:
|
|
135
|
-
|
|
137
|
+
if not silent:
|
|
138
|
+
QMessageBox.information(self, "Reloaded", "Plugins have been reloaded.")
|
|
136
139
|
else:
|
|
137
140
|
self.plugin_manager.discover_plugins()
|
|
138
141
|
self.refresh_plugin_list()
|
|
@@ -155,7 +158,7 @@ class PluginManagerWindow(QDialog):
|
|
|
155
158
|
if reply == QMessageBox.StandardButton.Yes:
|
|
156
159
|
try:
|
|
157
160
|
os.remove(filepath)
|
|
158
|
-
self.on_reload() # Reload list and plugins
|
|
161
|
+
self.on_reload(silent=True) # Reload list and plugins
|
|
159
162
|
QMessageBox.information(self, "Success", f"Removed '{plugin.get('name', 'Unknown')}'.")
|
|
160
163
|
except Exception as e:
|
|
161
164
|
QMessageBox.critical(self, "Error", f"Failed to delete file: {e}")
|
|
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
|
{moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/constrained_optimization_dialog.py
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
|
{moleditpy-2.2.0a3 → moleditpy-2.2.2}/src/moleditpy/modules/main_window_molecular_parsers.py
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
|