- changed status to resolved
error when opening the layer properties of enmap_berlin.bsq
D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerproperties.py:1021: Warning: This dialog emulates only parts of the real QGIS Layer Properties dialog. Use for testing only.
dialog = LayerPropertiesDialog(layer, canvas=canvas)
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 570, in onDockTreeViewDoubleClicked
self.showLayerProperties(self.currentLayer())
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1756, in showLayerProperties
showLayerPropertiesDialog(mapLayer, mapCanvas, modal=True)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerproperties.py", line 1021, in showLayerPropertiesDialog
dialog = LayerPropertiesDialog(layer, canvas=canvas)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerproperties.py", line 854, in init
pageWidget = f.createWidget(self.mapLayer(), self.canvas(), dockWidget=False)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerconfigwidgets\rasterbands.py", line 314, in createWidget
w = RasterBandConfigWidget(layer, canvas, parent=parent)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerconfigwidgets\rasterbands.py", line 100, in init
self.cbSingleBand.setLayer(self.mLayer)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\layerconfigwidgets\rasterbands.py", line 79, in setLayer
if FWHM:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Comments (1)
-
- Log in to comment
refactoring SpectralLibrary ploting widgets addresses
#706resolves#707(if FWHM: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all())Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset ab9c52eaed64>>