Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
python-handel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
handel/mapping.py
handel/mapping.py
+4
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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