Open paulrbuckley-kcl opened 5 months ago
Hi @paulrbuckley-kcl
Sorry for the late reply. To be honest I have not come across this bit of the steinbock code before. It appears to expect only numerical characters in the 'channel' column of the panel for external images. I am surprised that it worked before for you, since .astype(int)
would fail if there are any characters in the column entries. You can get around it by removing the 'C's in your panel['channel']
entries. But then again that should not be expected format of panel['channel']
. @jwindhager could you please comment?
This is a bug
Hi
I'm having a strange error, using code and an image which i've previously preprocessed before .. any advice would be really greatly appreciated.
Commands I am using are as follows. This is a snakemake pipeline running steinbock via singularity. Has always worked in the past ! Can't work out for the life of me what is wrong.
steinbock="singularity run -B /output_data/{wildcards.file}:/data --env STEINBOCK_MASK_DTYPE=uint32 docker://ghcr.io/bodenmillergroup/steinbock:0.15.0" echo "Running preprocessing of external images" $steinbock preprocess external images --img /data/ --imgout /data/images --infoout /data/images/images.csv $steinbock segment deepcell --minmax --img /data/images --panel /data/panel.csv -o /data/masks/ $steinbock measure intensities --img /data/images --masks /data/masks --panel /data/panel.csv -o /data/intensities/ $steinbock measure regionprops --img /data/images --masks /data/masks -o /data/regionprops/
The panel.csv file is in the structure of: