Mercurial > repos > iuc > imagej2_bunwarpj_align
diff imagej2_base_utils.py @ 8:083472ffb839 draft
planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
| author | iuc |
|---|---|
| date | Fri, 26 Jun 2015 05:28:51 -0400 |
| parents | 7a96d686d380 |
| children | 8a14f00234e0 |
line wrap: on
line diff
--- a/imagej2_base_utils.py Fri Jun 19 16:57:16 2015 -0400 +++ b/imagej2_base_utils.py Fri Jun 26 05:28:51 2015 -0400 @@ -95,7 +95,7 @@ if max_heap_size_type == 'default': return None if max_heap_size_type == 'megabytes': - if max_heap_size % 1024 not in [ 0, 256, 512 ]: + if int( max_heap_size ) % 1024 not in [ 0, 256, 512 ]: return None return '%sm' % str( max_heap_size ) if max_heap_size_type == 'gigabytes':
