Skip to content
Snippets Groups Projects
Commit 4cedd304 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Merge pull request #86 from hasimpson-usgs/fix_sqdist_renames

Fixed unicode terminal input issue, prefer channel station over comma…
parents a0fe2157 8fc72136
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class EdgeFactory(TimeseriesFactory):
representing gaps.
"""
stats = timeseries[0].stats
observatory = observatory or self.observatory or stats.station
observatory = observatory or stats.station or self.observatory
channels = channels or self.channels
type = type or self.type or stats.data_type
interval = interval or self.interval or stats.data_interval
......
......@@ -131,7 +131,7 @@ class RawInputClient():
the correct length. We only expect observatory to ever be of an
incorrect length.
"""
return network + observatory.ljust(5) + channel + location
return str(network + observatory.ljust(5) + channel + location)
def forceout(self):
""" force edge to recognize data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment