Skip to content

Commit 3a924c1

Browse files
authored
Merge pull request #501 from European-XFEL/fix/adq-parallel-align
Fix incomplete pulse alignment in new parallel paths of AdqRawChannel
2 parents 66b899f + 21e769c commit 3a924c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/extra/components/adq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ def read_train(wid, index, train_id, data):
10561056
out[index] = data[roi]
10571057
self._preprocess(out[index], out[index])
10581058

1059-
psh.map(read_train, self._raw_key)
1059+
psh.map(read_train, self._raw_key.drop_empty_trains())
10601060
else:
10611061
out = self._validate_out(out, shape)
10621062

@@ -1143,7 +1143,7 @@ def read_pulses(wid, index, train_id, data):
11431143
tmp_sel.reshape(1, -1), out[pulse_sel], pulse_ids[pulse_sel],
11441144
layout_row['length'])
11451145

1146-
psh.map(read_pulses, self._raw_key)
1146+
psh.map(read_pulses, raw_key)
11471147

11481148
else:
11491149
# Prepare output buffers.

0 commit comments

Comments
 (0)