ground_station/display.py
def refresh(self, data):
        """
        puts new data in 'raw' sheet for each call
        """
        try:
            # set latency on main screen
            self.raw.range(1,1).value = self.latency

            self.data = data

            x = self.raw.range
            data_sorted = sorted(self.data) # list of IDS present

            for entry in data_sorted:
                x(entry + 1, 2).value = entry # set each row first column with ID 
                
                i = 3 # set column index for next loop
                for value in self.data[entry]['payload']:
                    # go though the sorted array for ID
                    x(entry + 1, i).value = value
                    i += 1
        except:
            pass

        puts new data in 'raw' sheet for each call
        
puts new data in 'raw' sheet for each call
puts new data in ' raw ' sheet for each call
def refresh(self, data):
        try:
            self.raw.range(1,1).value = self.latency
            self.data = data
            x = self.raw.range
            data_sorted = sorted(self.data) 
            for entry in data_sorted:
                x(entry + 1, 2).value = entry 
                i = 3 
                for value in self.data[entry]['payload']:
                    x(entry + 1, i).value = value
                    i += 1
        except:
            pass
def refresh ( self , data ) : try : self . raw . range ( 1 , 1 ) . value = self . latency self . data = data x = self . raw . range data_sorted = sorted ( self . data ) for entry in data_sorted : x ( entry + 1 , 2 ) . value = entry i = 3 for value in self . data [ entry ] [ 'payload' ] : x ( entry + 1 , i ) . value = value i += 1 except : pass
puts new data in 'raw' sheet for each call
puts new data in ' raw ' sheet for each call
"""
        puts new data in 'raw' sheet for each call
        """ # set latency on main screen # list of IDS present # set each row first column with ID  # set column index for next loop # go though the sorted array for ID
self
data