As discussed in that issue, the Dnaapler rule might fail, if not enough memory is given.
However, even if I set the "medium" ressources the same as the "big" ressources in the config file, the Dnaapler rule still failed with the same error for me. The only solution was to run hybracter with --cores 1.
In this PR, I use the retries: directive and a small helper function to set the threads for the Dnaapler rules to 1, if the rule fails with the usual config.resources.med.cpu.
Hi @richardstoeckl - thanks for this PR! Very happy to merge it as it has passed all CI checks (albeit it would be hard to replicate the OOM behaviour in the CI suite).
Hi,
this PR attempts to fix #54.
As discussed in that issue, the Dnaapler rule might fail, if not enough memory is given. However, even if I set the "medium" ressources the same as the "big" ressources in the config file, the Dnaapler rule still failed with the same error for me. The only solution was to run hybracter with
--cores 1
.In this PR, I use the
retries:
directive and a small helper function to set the threads for the Dnaapler rules to 1, if the rule fails with the usualconfig.resources.med.cpu
.Let me know if I can improve something.
Best wishes, Richard