comparison tomo.py @ 46:d73e715e975b draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit baa3866a541a552710bec26ae5d37a8c624563ac"
author rv43
date Thu, 21 Apr 2022 18:10:17 +0000
parents f7c75e9643f2
children c693117d01e9
comparison
equal deleted inserted replaced
45:f7c75e9643f2 46:d73e715e975b
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 = 12 51 #RV the same problem reappeared once I started testing with the tenstom_1304r-1 case
52 # not resolved yet
53 num_core_tomopy_limit = 24
52 54
53 class set_numexpr_threads: 55 class set_numexpr_threads:
54 56
55 def __init__(self, num_core): 57 def __init__(self, num_core):
56 cpu_count = mp.cpu_count() 58 cpu_count = mp.cpu_count()