Skip to content

Commit

Permalink
One more flake8 error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusvasquez333 committed Feb 28, 2020
1 parent da91610 commit 220b8e5
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions python/pysmurf/client/util/SmurfFileReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,32 @@

# Default header as a named tuple
SmurfHeaderTuple = namedtuple( 'SmurfHeader',
[ 'protocol_version' , # 1 Byte, B
'crate_id' , # 1 Byte, B
'slot_number' , # 1 Byte, B
'timing_cond' , # 1 Byte, B
'number_of_channels' , # 4 Bytes, uint32, I
# 40 Bytes, TesBias, 40x
'timestamp' , # 8 Bytes, uint64, Q
'flux_ramp_increment' , # 4 Bytes, int32, I
'flux_ramp_offset' , # 4 Bytes, int32, I
'counter_0' , # 4 Bytes, uint32, I
'counter_1' , # 4 Bytes, uint32, I
'counter_2' , # 8 Bytes, uint64, Q
'reset_bits' , # 4 Bytes, uint32, I
'frame_counter' , # 4 Bytes, uint32, I
'tes_relays_config' , # 4 Bytes, bit mask (uint32), I
# 4 Bytes, unused, 4x
'external_time_raw' , # 5 Bytes, uint64, Q (3 extra bytes)
'control_field' , # 1 Byte, B
'test_params' , # 1 Byte, B
# 6 Bytes, unused, 6x
'num_rows' , # 2 Bytes, uint16, H
'num_rows_reported' , # 2 Bytes, uint16, H
# 4 Bytes, unused, 4x
'row_length' , # 2 Bytes, uint16, H
'data_rate' ] ) # 2 Bytes, uint16, H
# 4 Bytes, unused, 4x
[ 'protocol_version' , # 1 Byte, B
'crate_id' , # 1 Byte, B
'slot_number' , # 1 Byte, B
'timing_cond' , # 1 Byte, B
'number_of_channels' , # 4 Bytes, uint32, I
# 40 Bytes, TesBias, 40x
'timestamp' , # 8 Bytes, uint64, Q
'flux_ramp_increment' , # 4 Bytes, int32, I
'flux_ramp_offset' , # 4 Bytes, int32, I
'counter_0' , # 4 Bytes, uint32, I
'counter_1' , # 4 Bytes, uint32, I
'counter_2' , # 8 Bytes, uint64, Q
'reset_bits' , # 4 Bytes, uint32, I
'frame_counter' , # 4 Bytes, uint32, I
'tes_relays_config' , # 4 Bytes, bit mask (uint32), I
# 4 Bytes, unused, 4x
'external_time_raw' , # 5 Bytes, uint64, Q (3 extra bytes)
'control_field' , # 1 Byte, B
'test_params' , # 1 Byte, B
# 6 Bytes, unused, 6x
'num_rows' , # 2 Bytes, uint16, H
'num_rows_reported' , # 2 Bytes, uint16, H
# 4 Bytes, unused, 4x
'row_length' , # 2 Bytes, uint16, H
'data_rate' ] ) # 2 Bytes, uint16, H
# 4 Bytes, unused, 4x


# Default header as a named tuple
Expand Down

0 comments on commit 220b8e5

Please sign in to comment.