Hi Nyall,

> Does it help if you inherit from QgsProcessingAlgorithm instead?
> There's no need to inherit from QgisAlgorithm here, you should use the
> base class directly.

nope.. I already changed that so that now the class inherits from
QgsProcessingAlgorithm.

I also noticed that I have to put:

def createInstance(self):
  return type(self)()

else the algorithm will crash..


Thanks

Matteo
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to