mantidproject / mantidimaging

Graphical toolkit for neutron imaging.
https://mantidproject.github.io/mantidimaging
GNU General Public License v3.0
10 stars 6 forks source link

Correct type annotations in the MainWindow, and related classes #2243

Open ashmeigh opened 6 days ago

ashmeigh commented 6 days ago

Description

Added and corrected type annotations in MainWindow, and related classes. Ensured that type annotations match the expected return types and parameters. Fixed type-related issues by converting IDs to appropriate types in MainWindow properties and methods. Testing

Testing

Ran type checks to confirm that type annotations are correctly applied and no type errors remain. Verified that the updated type annotations do not introduce any runtime errors.

Acceptance Criteria

Reviewer should run type checks to ensure all type annotations are correct and no type errors exist. Confirm that the application functions as expected with the updated type annotations.