Upload movies - shape error




I get the message below when uploading a dataset where some movies have different number of frames. Is there anyway around this so that I can keep the dataset in one workspace?

Traceback (most recent call last): File “cryosparc2_master/cryosparc2_compute/run.py”, line 78, in cryosparc2_compute.run.main File “cryosparc2_compute/jobs/imports/run.py”, line 526, in run_import_movies_or_micrographs assert shape == datashape, “All data files must be of the same shape but file %s with shape %s did not match common shape %s” % (abs_path, str(shape), str(datashape)) AssertionError: All data files must be of the same shape but file /storagedata/dom/19bb/19b.frames.tif with shape (44, 7676, 7420) did not match common shape (45, 7676, 7420)



Hi @Dominique,

Unfortunately the import job does expect all movies to be the same (ties in to the exposure per frame/exposure weighting, etc). But you can create multiple import movies jobs in the same workspace, each one importing a different subset of the movies with different sizes. Then you can apply motion correction to each subset separately, and then simply drag the output of each motion correction job into the same CTF estimation job, and the sets of movies will be combined and you can continue from there.