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
MPI-Dortmund
sphire
eman2mirror
Commits
260e342b
Commit
260e342b
authored
Jun 02, 2022
by
shadow_walker
Browse files
set outliers=True only if no renderbits are specified by user
parent
caa86b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
libpyEM/EMAN2.py
View file @
260e342b
...
...
@@ -3098,7 +3098,10 @@ and the file size will increase.
raise
Exception
(
f
"Only
{
[
i
.
strip
(
'.'
)
for
i
in
compressible_formats
()]
}
"
f
"formats are supported by write_compressed()"
)
if
outbits
:
bits
=
outbits
if
outbits
:
bits
=
outbits
else
:
nooutliers
=
True
if
isinstance
(
self
,
EMData
):
self
=
[
self
]
...
...
@@ -3121,8 +3124,6 @@ and the file size will increase.
if
minval
==
'FULL'
:
minval
=
im
[
"minimum"
]
if
maxval
==
'FULL'
:
maxval
=
im
[
"maximum"
]
nooutliers
=
True
im
[
"render_bits"
]
=
bits
im
[
"render_compress_level"
]
=
level
### This is an important option, as it will be the default in many cases. It makes an effort to intelligently
...
...
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