Commit 260e342b authored by shadow_walker's avatar shadow_walker
Browse files

set outliers=True only if no renderbits are specified by user

parent caa86b8a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment