Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
python-handel
Commits
1054ac19
Commit
1054ac19
authored
Nov 06, 2018
by
Vincent Michel
Committed by
U-ESRF\opid13
Nov 06, 2018
Browse files
Make buffer parsing more robust
parent
6afda593
Pipeline
#6168
passed with stage
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
handel/mapping.py
View file @
1054ac19
...
...
@@ -89,6 +89,10 @@ def parse_mapping_buffer(raw):
spectrum
.
dtype
=
spectrum_type
current
+=
size
# Discard garbage
if
channel_id
in
spectrums
[
pixel
]:
continue
# Set data
stats
=
stats_from_mapping_mode
(
stats_block
[
index
])
spectrums
[
pixel
][
channel_id
]
=
spectrum
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment