masster 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of masster might be problematic. Click here for more details.
- masster/sample/processing.py +13 -7
- {masster-0.3.8.dist-info → masster-0.3.9.dist-info}/METADATA +1 -1
- {masster-0.3.8.dist-info → masster-0.3.9.dist-info}/RECORD +6 -6
- {masster-0.3.8.dist-info → masster-0.3.9.dist-info}/WHEEL +0 -0
- {masster-0.3.8.dist-info → masster-0.3.9.dist-info}/entry_points.txt +0 -0
- {masster-0.3.8.dist-info → masster-0.3.9.dist-info}/licenses/LICENSE +0 -0
masster/sample/processing.py
CHANGED
|
@@ -570,14 +570,20 @@ def find_features(self, **kwargs):
|
|
|
570
570
|
self.logger.warning(f"Unknown parameter {key} ignored")
|
|
571
571
|
|
|
572
572
|
# Set global parameters
|
|
573
|
-
if params
|
|
574
|
-
|
|
573
|
+
if hasattr(params, 'threads') and params.threads is not None:
|
|
574
|
+
try:
|
|
575
|
+
# Try setting via OpenMP environment variable first (newer approach)
|
|
576
|
+
import os
|
|
577
|
+
os.environ['OMP_NUM_THREADS'] = str(params.threads)
|
|
578
|
+
self.logger.debug(f"Set thread count to {params.threads} via OMP_NUM_THREADS")
|
|
579
|
+
except Exception:
|
|
580
|
+
self.logger.warning(f"Could not set thread count to {params.threads} - using default")
|
|
575
581
|
|
|
576
582
|
# Set debug mode if enabled
|
|
577
|
-
if params
|
|
578
|
-
|
|
579
|
-
elif params
|
|
580
|
-
|
|
583
|
+
if hasattr(params, 'debug') and params.debug:
|
|
584
|
+
self.logger.debug("Debug mode enabled")
|
|
585
|
+
elif hasattr(params, 'no_progress') and params.no_progress:
|
|
586
|
+
self.logger.debug("No progress mode enabled")
|
|
581
587
|
|
|
582
588
|
self.logger.info("Starting feature detection...")
|
|
583
589
|
self.logger.debug(
|
|
@@ -622,7 +628,7 @@ def find_features(self, **kwargs):
|
|
|
622
628
|
|
|
623
629
|
# Additional MTD parameters
|
|
624
630
|
mtd_par.setValue("min_sample_rate", float(params.get("min_sample_rate")))
|
|
625
|
-
mtd_par.setValue("min_trace_length",
|
|
631
|
+
mtd_par.setValue("min_trace_length", float(params.get("min_trace_length")))
|
|
626
632
|
mtd_par.setValue("trace_termination_criterion", params.get("trace_termination_criterion"))
|
|
627
633
|
mtd_par.setValue("reestimate_mt_sd", "true" if params.get("reestimate_mt_sd") else "false")
|
|
628
634
|
mtd_par.setValue("quant_method", params.get("quant_method"))
|
|
@@ -17,7 +17,7 @@ masster/sample/lib.py,sha256=9r2XlF_BaJ4WNAsQo8hElieRLwsAv0yrbYq4DJ0iVOM,33496
|
|
|
17
17
|
masster/sample/load.py,sha256=y-KUJ2nCFX_06FHPUOh-CzRRvaTx14xNcXoL19bU8qY,47562
|
|
18
18
|
masster/sample/parameters.py,sha256=Gg2KcuNbV_wZ_Wwv93QlM5J19ji0oSIvZLPV1NoBmq0,4456
|
|
19
19
|
masster/sample/plot.py,sha256=uUJAd2qxhVG6Ev2hLuU406zFA2TDkkBz2MG12P9fLik,71449
|
|
20
|
-
masster/sample/processing.py,sha256=
|
|
20
|
+
masster/sample/processing.py,sha256=AZdqEzOu4D_0B-3KCrvEr3wZ67taWpfZqFAIHeslf3s,60265
|
|
21
21
|
masster/sample/quant.py,sha256=tHNjvUFTdehKR31BXBZnVsBxMD9XJHgaltITOjr71uE,7562
|
|
22
22
|
masster/sample/sample.py,sha256=ekS-qBfzx3_Lb2KLMu-s90owRlk3lK4616mmiAiiHTc,16726
|
|
23
23
|
masster/sample/sample5_schema.json,sha256=3SPFQZH4SooLYUt_lW-PCOE9rHnl56Vhc2XG-r1nyEQ,3586
|
|
@@ -52,8 +52,8 @@ masster/study/defaults/integrate_chrom_def.py,sha256=Rih3-vat7fHGVfIvRitjNJJI3zL
|
|
|
52
52
|
masster/study/defaults/integrate_def.py,sha256=Vf4SAzdBfnsSZ3IRaF0qZvWu3gMDPHdgPfMYoPKeWv8,7246
|
|
53
53
|
masster/study/defaults/merge_def.py,sha256=EBsKE3hsAkTEzN9dpdRD5W3_suTKy_WZ_96rwS0uBuE,8572
|
|
54
54
|
masster/study/defaults/study_def.py,sha256=hj8bYtEPwzdowC95yfyoCFt6fZkQePLjpJtmpNz9Z5M,9533
|
|
55
|
-
masster-0.3.
|
|
56
|
-
masster-0.3.
|
|
57
|
-
masster-0.3.
|
|
58
|
-
masster-0.3.
|
|
59
|
-
masster-0.3.
|
|
55
|
+
masster-0.3.9.dist-info/METADATA,sha256=FXWOvACxtEV0Svzws7jY8fKf4v6xmgzZ-Drgc2O_n-0,44292
|
|
56
|
+
masster-0.3.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
57
|
+
masster-0.3.9.dist-info/entry_points.txt,sha256=ZHguQ_vPmdbpqq2uGtmEOLJfgP-DQ1T0c07Lxh30wc8,58
|
|
58
|
+
masster-0.3.9.dist-info/licenses/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
|
|
59
|
+
masster-0.3.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|