Skip to content

Commit

Permalink
Py3 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayshih committed Nov 21, 2016
1 parent b1098d0 commit 28a31a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gripspy/housekeeping/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, telemetry_file=None, save_file=None):
# Convert time to UTC
self.utc_time.append(np.datetime64('1980-01-06T00:00:00Z') +\
np.timedelta64(p['user_week'], 'W') +\
np.timedelta64(long((p['user_timeofweek'] - p['user_offset']) * 1e6), 'us'))
np.timedelta64(int((p['user_timeofweek'] - p['user_offset']) * 1e6), 'us'))

pressure_low.append((p['sip1_pressure_low'] + p['sip2_pressure_low']) / 2)
pressure_mid.append((p['sip1_pressure_mid'] + p['sip2_pressure_mid']) / 2)
Expand Down

0 comments on commit 28a31a1

Please sign in to comment.