Skip to content

scripts/fix_all_tma_issues.py

Overview

This file contains 3 documented elements.

Functions

fix_tma_issues(file_path)

Corregge tutti i problemi in Tma.py.

Parameters: - file_path

main()

No description available. Entry point of the script that orchestrates the correction of TMA issues in a hardcoded QGIS plugin file located at a fixed path within the user's QGIS3 profile directory. It verifies the target file exists, invokes fix_tma_issues() on it, and prints a success or failure message accordingly. Returns 0 on success or 1 if the file is not found or the fix process fails, with the return value passed to sys.exit() when the script is run directly.