- made a hack so if the Image Import plugin can't be loaded due of dependencies errors the app will not crash but this plugin will no longer be available

This commit is contained in:
Marius Stanciu
2022-01-19 18:05:13 +02:00
parent 8d06b5bf81
commit a26fd24f65
4 changed files with 14 additions and 10 deletions

View File

@@ -4,10 +4,8 @@
# Date: 3/10/2019 #
# MIT Licence #
# ##########################################################
import sys
from PyQt6 import QtGui, QtWidgets
import os
import os, sys
from shapely.geometry import shape
from shapely.ops import unary_union
@@ -15,7 +13,7 @@ from shapely.affinity import scale, translate
import numpy as np
# import rasterio
import rasterio
from rasterio import open as rasterio_open
from rasterio.features import shapes