Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadImages: Error with loading multiple .stk files as an image set #327

Closed
braymp opened this issue May 16, 2012 · 1 comment
Closed

LoadImages: Error with loading multiple .stk files as an image set #327

braymp opened this issue May 16, 2012 · 1 comment
Assignees

Comments

@braymp
Copy link
Contributor

braymp commented May 16, 2012

In the attached pipeline/images, if the four 7-frame .stk files are loaded in a single LoadImages module, it fails with the error:


Traceback (most recent call last):
File "C:\Trunk\CellProfiler\cellprofiler\pipeline.py", line 1494, in prepare_run
if not module.prepare_run(workspace):
File "C:\Trunk\CellProfiler\cellprofiler\modules\loadimages.py", line 1461, in prepare_run
return self.prepare_run_of_movies(workspace)
File "C:\Trunk\CellProfiler\cellprofiler\modules\loadimages.py", line 2084, in
prepare_run_of_movies
raise RuntimeError("Image %s has %d frames, but image %s has %d frames"%(image_names[0],image_set_count,name,len(x)))
RuntimeError: Image ColorDAPI has 28 frames, but image ColorDAPI has 0 frames


If LoadImages loads only one .stk, the load is successful.

Attachments:
http://cellprofiler.org/issues/uploaded/hhlbrO/2012_05_16.cp
http://cellprofiler.org/issues/uploaded/mou_gb/CT32_VR_FNK_2012APR20_0005_CY5_C004Z.stk
http://cellprofiler.org/issues/uploaded/kYoVsu/CT32_VR_FNK_2012APR20_0005_DAP_C001Z.stk
http://cellprofiler.org/issues/uploaded/zcjYoY/CT32_VR_FNK_2012APR20_0005_GREEN_C002Z.stk
http://cellprofiler.org/issues/uploaded/c85E8M/CT32_VR_FNK_2012APR20_0005_RED_C003Z.stk

@LeeKamentsky
Copy link

Sorry about that, stupid typo was assigning all frames of every .stk to the first image. Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants