equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
99 stars 104 forks source link

Fix incorrect AlignBottom enum #8121

Closed eivindjahren closed 1 month ago

eivindjahren commented 1 month ago

The membership of AlignBottom was incorrectly set to Qt.Alignment leading to the following error:

  File ".../ert/gui/tools/workflows/run_workflow_widget.py", line 113, in startWorkflow
    "Running workflow", self.createSpinWidget(), self
                        ^^^^^^^^^^^^^^^^^^^^^^^
  File .../ert/gui/tools/workflows/run_workflow_widget.py", line 88, in createSpinWidget
    layout.addWidget(processing_label, Qt.Alignment.AlignBottom)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Alignment' has no attribute 'AlignBottom'