Repository navigation
Conversation
snakemake-executor-plugin-slurm 2.6.0 sleeps 5 s before every sbatch on a two-thread submit pool, so a run never submits more than 24 jobs a minute. 2.7.1 and later drop the sleep but need numpy>=2.4.5 and pandas>=2.3.3. - Pin the plugin to 2.8.0, numpy to 2.4.5 and pandas to 2.3.3. - Pin cellpose3 to the commit that lifts its numpy<2.1 cap. - Replace np.in1d, removed in numpy 2.4, with np.isin. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014tCDdE9SoDC2GYDAcHXhMP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
snakemake-executor-plugin-slurm2.6.0 callstime.sleep(5)before everysbatch, on a submit pool of two threads. A run therefore submits at most 24 jobs a minute whatever--jobsis set to. On a preprocess run with about 30 s conversion jobs, only about 15 jobs ran at once out of 400 allowed; with the sleep removed the same run held about 190 running jobs and went from about 20 to about 170 steps a minute.The sleep is still in 2.6.1 and 2.7.0 and is gone from 2.7.1. Versions from 2.7.0 on require
numpy>=2.4.5andpandas>=2.3.3.Changes
snakemake-executor-plugin-slurm2.6.0 → 2.8.0,numpy2.0.2 → 2.4.5,pandas2.3.0 → 2.3.3. Every other pin resolves unchanged.cellpose3pinned to the commit that lifts itsnumpy<2.1cap (Lift the numpy<2.1 cap (3.1.0.post1) cellpose3#1). This becomes the tagv3.1.0.post1once that PR is merged and tagged; draft until then.np.in1dwas removed in numpy 2.4: the four uses (watershed segmentation, secondary objects, CellProfiler emulator) are nownp.isin(...).ravel(), which returns the same flat mask.Checked
nuclei,cyto3(fixed and estimated diameter) andcpsam.ruff format/ruff check.Not yet checked
np.isinedits there need a re-sync after merge.np.in1don paths brieflow does not appear to use:microfilm(dataset.valid_frames),statsmodels.sandbox.🤖 Generated with Claude Code
https://claude.ai/code/session_014tCDdE9SoDC2GYDAcHXhMP