[Bugfix]: Fix plot title in TuneAutopicker, partial fix of #266
For some reason the network.station.location.channel string wasn't split.
This commit is contained in:
parent
3abeabc75c
commit
6a0c1dda9d
@ -3435,8 +3435,9 @@ class TuneAutopicker(QWidget):
|
|||||||
return
|
return
|
||||||
self.load_wf_data()
|
self.load_wf_data()
|
||||||
try:
|
try:
|
||||||
network, station, location, channel = self.get_current_station_id()
|
network, station, location, channel = self.get_current_station_id().split(".")
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
|
# not enough values to unpack, initialize default values
|
||||||
vmsg = '{0}'.format(e)
|
vmsg = '{0}'.format(e)
|
||||||
print(vmsg)
|
print(vmsg)
|
||||||
station = self.get_current_station()
|
station = self.get_current_station()
|
||||||
|
Loading…
Reference in New Issue
Block a user