Mercurial > repos > rv43 > tomo
comparison tomo.py @ 45:f7c75e9643f2 draft
"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 1f6fd1552d2f36288a0ed191780b16dddce12c6c"
| author | rv43 |
|---|---|
| date | Thu, 21 Apr 2022 17:31:37 +0000 |
| parents | 0ac719053d6f |
| children | d73e715e975b |
comparison
equal
deleted
inserted
replaced
| 44:0ac719053d6f | 45:f7c75e9643f2 |
|---|---|
| 46 import msnc_tools as msnc | 46 import msnc_tools as msnc |
| 47 | 47 |
| 48 # the following tomopy routines don't run with more than 24 cores on Galaxy-Dev | 48 # the following tomopy routines don't run with more than 24 cores on Galaxy-Dev |
| 49 # - tomopy.find_center_vo | 49 # - tomopy.find_center_vo |
| 50 # - tomopy.prep.stripe.remove_stripe_fw | 50 # - tomopy.prep.stripe.remove_stripe_fw |
| 51 num_core_tomopy_limit = 24 | 51 num_core_tomopy_limit = 12 |
| 52 | 52 |
| 53 class set_numexpr_threads: | 53 class set_numexpr_threads: |
| 54 | 54 |
| 55 def __init__(self, num_core): | 55 def __init__(self, num_core): |
| 56 cpu_count = mp.cpu_count() | 56 cpu_count = mp.cpu_count() |
