From 6ae715cad5f8188a38b52132d56ed5d3a92c479e Mon Sep 17 00:00:00 2001
From: "benjamin.jakimow" <benjamin.jakimow@geo.hu-berlin.de>
Date: Fri, 5 Jul 2019 18:30:05 +0200
Subject: [PATCH] pulled qps updates.

---
 eotimeseriesviewer/externals/qps/speclib/plotting.py        | 4 ++--
 .../externals/qps/speclib/spectrallibraries.py              | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/eotimeseriesviewer/externals/qps/speclib/plotting.py b/eotimeseriesviewer/externals/qps/speclib/plotting.py
index 6980ce67..0aac0f10 100644
--- a/eotimeseriesviewer/externals/qps/speclib/plotting.py
+++ b/eotimeseriesviewer/externals/qps/speclib/plotting.py
@@ -517,8 +517,8 @@ class SpectralLibraryPlotWidget(pg.PlotWidget):
                 self.mInfoLabelCursor.setPos(pos)
 
                 b = vb.mActionShowCrosshair.isChecked()
-                #self.mCrosshairLineH.setVisible(b)
-                #self.mCrosshairLineV.setVisible(b)
+                self.mCrosshairLineH.setVisible(b)
+                self.mCrosshairLineV.setVisible(b)
                 self.mCrosshairLineV.setPos(mousePoint.x())
                 self.mCrosshairLineH.setPos(mousePoint.y())
 
diff --git a/eotimeseriesviewer/externals/qps/speclib/spectrallibraries.py b/eotimeseriesviewer/externals/qps/speclib/spectrallibraries.py
index 201da848..3b8de3ff 100644
--- a/eotimeseriesviewer/externals/qps/speclib/spectrallibraries.py
+++ b/eotimeseriesviewer/externals/qps/speclib/spectrallibraries.py
@@ -2180,14 +2180,16 @@ class AbstractSpectralLibraryIO(object):
 
     @staticmethod
     def write(speclib, path):
-        """Writes the SpectralLibrary to path and returns a list of written files that can be used to open the spectral library with readFrom"""
+        """Writes the SpectralLibrary to path and returns a list of written files that can be used to open
+        the spectral library with readFrom"""
         assert isinstance(speclib, SpectralLibrary)
         return []
 
     @staticmethod
     def score(uri:str)->int:
         """
-        Returns a score value for the give uri. E.g. 0 for unlikely/unknown, 20 for yes, probalby thats the file format the reader can read.
+        Returns a score value for the give uri. E.g. 0 for unlikely/unknown, 20 for yes, probably that's the file format
+        the reader can read.
 
         :param uri: str
         :return: int
-- 
GitLab