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
Tobias Rasse
emTools
Commits
f4f66b51
Commit
f4f66b51
authored
Oct 15, 2018
by
Martin Schorb
Browse files
montsection, old mdoc, bugfix
parent
bdd72333
Changes
1
Hide whitespace changes
Inline
Side-by-side
emtools.py
View file @
f4f66b51
...
...
@@ -380,7 +380,7 @@ def mergemap(mapitem,crop=False):
if
'AlignedPieceCoordsVS'
in
tile
:
m
[
'Sloppy'
]
=
True
tilepos
=
numpy
.
array
(
tilepos
,
float
)
if
mdoc_item
(
mdoclines
,
'MontSection'
)
==
[]:
#older mdoc file format, created before SerialEM 3.7x
if
mdoc_item
(
mdoclines
,
'MontSection
= 0
'
)
==
[]:
#older mdoc file format, created before SerialEM 3.7x
print
(
'Warning: mrc stack without montage information. Assume pixel size is consistent for all sections.'
)
str1
=
mdoclines
[
0
]
pixelsize
=
float
(
mdoclines
[
0
][
str1
.
find
(
'='
)
+
1
:])
...
...
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