Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
118835f8
Commit
118835f8
authored
Mar 05, 2020
by
Thomas White
Browse files
transfer-geom: Only write coffset for panels which have them
parent
20c51dc9
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/transfer-geom
View file @
118835f8
...
...
@@ -83,6 +83,7 @@ with open(sys.argv[2]) as template:
if
not
panel
:
print
(
"No panel for line: %s
\n
"
%
line
)
sys
.
exit
(
1
)
if
panel
in
coffset
:
out
.
write
(
"%s/coffset = %s
\n
"
%
(
panel
,
coffset
[
panel
]))
else
:
out
.
write
(
"%s
\n
"
%
line
)
...
...
Write
Preview
Supports
Markdown
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