moleditpy 1.3.0__tar.gz → 1.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moleditpy
3
- Version: 1.3.0
3
+ Version: 1.3.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
  Project-URL: Homepage, https://github.com/HiroYokoyama/python_molecular_editor
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "moleditpy"
7
7
 
8
- version = "1.3.0"
8
+ version = "1.3.1"
9
9
 
10
10
  authors = [
11
11
  { name="HiroYokoyama", email="titech.yoko.hiro@gmail.com" },
@@ -11,7 +11,7 @@ DOI 10.5281/zenodo.17268532
11
11
  """
12
12
 
13
13
  #Version
14
- VERSION = '1.3.0'
14
+ VERSION = '1.3.1'
15
15
 
16
16
  print("-----------------------------------------------------")
17
17
  print("MoleditPy — A Python-based molecular editing software")
@@ -3013,6 +3013,11 @@ class MainWindow(QMainWindow):
3013
3013
 
3014
3014
  mol_block = Chem.MolToMolBlock(mol, includeStereo=True)
3015
3015
  self.convert_button.setEnabled(False)
3016
+ self.cleanup_button.setEnabled(False)
3017
+ self.optimize_3d_button.setEnabled(False)
3018
+ self.export_button.setEnabled(False)
3019
+ self.analysis_action.setEnabled(False)
3020
+ self.edit_3d_action.setEnabled(False)
3016
3021
  self.statusBar().showMessage("Calculating 3D structure...")
3017
3022
  self.plotter.clear()
3018
3023
  text_actor = self.plotter.add_text(
@@ -3074,6 +3079,7 @@ class MainWindow(QMainWindow):
3074
3079
  self.analysis_action.setEnabled(True)
3075
3080
  self.push_undo_state()
3076
3081
  self.view_2d.setFocus()
3082
+ self.cleanup_button.setEnabled(True)
3077
3083
  self.optimize_3d_button.setEnabled(True)
3078
3084
  self.export_button.setEnabled(True)
3079
3085
  self.edit_3d_action.setEnabled(True)
@@ -3083,6 +3089,7 @@ class MainWindow(QMainWindow):
3083
3089
  self.plotter.clear()
3084
3090
  self.dragged_atom_info = None
3085
3091
  self.statusBar().showMessage(f"Error: {error_message}")
3092
+ self.cleanup_button.setEnabled(True)
3086
3093
  self.convert_button.setEnabled(True)
3087
3094
  self.analysis_action.setEnabled(False)
3088
3095
  self.edit_3d_action.setEnabled(False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moleditpy
3
- Version: 1.3.0
3
+ Version: 1.3.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
  Project-URL: Homepage, https://github.com/HiroYokoyama/python_molecular_editor
File without changes
File without changes