MoleditPy-linux 4.7.0__tar.gz → 4.7.1__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-4.7.0 → moleditpy_linux-4.7.1}/PKG-INFO +1 -1
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/pyproject.toml +1 -1
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/PKG-INFO +1 -1
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_interface.py +37 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/LICENSE +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/README.md +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/setup.cfg +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/SOURCES.txt +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/dependency_links.txt +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/entry_points.txt +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/requires.txt +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/top_level.txt +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/__main__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/assets/file_icon.ico +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/assets/icon.icns +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/assets/icon.ico +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/assets/icon.png +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/core/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/core/mol_geometry.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/core/molecular_data.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/main.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_manager.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_manager_window.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/about_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/align_plane_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/alignment_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/analysis_window.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/angle_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/app_state.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/atom_item.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/atom_picking.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/base_picking_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/bond_item.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/bond_length_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/calculation_worker.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/chain_mixin.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/color_settings_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/compute_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/constrained_optimization_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/custom_interactor_style.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/custom_qt_interactor.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/dialog_3d_picking_mixin.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/dialog_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/dihedral_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/edit_3d_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/edit_actions_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/export_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/geometry_base_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/io_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/main_window.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/main_window_init.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/mirror_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/molecular_scene_handler.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/molecule_scene.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/move_group_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/move_selected_atoms_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/periodic_table_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/planarize_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/plugin_menu_manager.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/settings_2d_tab.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/settings_3d_tabs.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/settings_other_tab.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/settings_tab_base.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/string_importers.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/template_preview_item.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/template_preview_view.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/translation_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/ui_manager.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/user_template_dialog.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/view_3d_logic.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/zoomable_view.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/__init__.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/constants.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/default_settings.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/hit_radius.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/sip_isdeleted_safe.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/suppress_log.py +0 -0
- {moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/system_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.1
|
|
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-linux
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.1
|
|
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
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_interface.py
RENAMED
|
@@ -409,6 +409,43 @@ class PluginContext:
|
|
|
409
409
|
mw.init_manager.settings[namespaced] = value
|
|
410
410
|
mw.init_manager.settings_dirty = True
|
|
411
411
|
|
|
412
|
+
def get_current_file(self) -> Optional[str]:
|
|
413
|
+
"""
|
|
414
|
+
Path of the file the application currently has open, or None.
|
|
415
|
+
|
|
416
|
+
Returns:
|
|
417
|
+
The path, or None when nothing is open.
|
|
418
|
+
"""
|
|
419
|
+
mw = self.get_main_window()
|
|
420
|
+
if mw and hasattr(mw, "init_manager"):
|
|
421
|
+
path = mw.init_manager.current_file_path
|
|
422
|
+
return str(path) if path else None
|
|
423
|
+
return None
|
|
424
|
+
|
|
425
|
+
def set_current_file(self, path: Optional[str]) -> None:
|
|
426
|
+
"""
|
|
427
|
+
Record *path* as the file the application has open and retitle its window.
|
|
428
|
+
|
|
429
|
+
Use this after a plugin file opener loads a file, so the window names it
|
|
430
|
+
the way it names a project. Assigning ``init_manager.current_file_path``
|
|
431
|
+
directly leaves the title showing the previous file: it is only rebuilt
|
|
432
|
+
on demand.
|
|
433
|
+
|
|
434
|
+
Args:
|
|
435
|
+
path: File path to show, or None for "Untitled".
|
|
436
|
+
"""
|
|
437
|
+
mw = self.get_main_window()
|
|
438
|
+
if mw is None or not hasattr(mw, "init_manager"):
|
|
439
|
+
return
|
|
440
|
+
try:
|
|
441
|
+
mw.init_manager.current_file_path = path
|
|
442
|
+
if hasattr(mw, "state_manager"):
|
|
443
|
+
fn = getattr(mw.state_manager, "update_window_title", None)
|
|
444
|
+
if fn:
|
|
445
|
+
fn()
|
|
446
|
+
except (AttributeError, RuntimeError):
|
|
447
|
+
logging.debug("set_current_file failed", exc_info=True)
|
|
448
|
+
|
|
412
449
|
def mark_project_modified(self) -> None:
|
|
413
450
|
"""Mark the current project as having unsaved changes and update the window title."""
|
|
414
451
|
mw = self.get_main_window()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/MoleditPy_linux.egg-info/entry_points.txt
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
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_manager.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/plugins/plugin_manager_window.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/align_plane_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/base_picking_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/bond_length_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/calculation_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/color_settings_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/custom_interactor_style.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/custom_qt_interactor.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/dialog_3d_picking_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/edit_actions_logic.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/geometry_base_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/molecular_scene_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/move_selected_atoms_dialog.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/periodic_table_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/plugin_menu_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/settings_tabs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/template_preview_item.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/template_preview_view.py
RENAMED
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/translation_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/ui/user_template_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/default_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-4.7.0 → moleditpy_linux-4.7.1}/src/moleditpy_linux/utils/sip_isdeleted_safe.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|