collection.format hits maximum recursion depth for collections with lots of holes.
Created by: chrisburel
The following code gives an example.
paths = ["name.{0:04d}.jpg".format(x) for x in range(2000)[::2]]
collection = clique.assemble(paths)[0][0]
collection.format("{head}####{tail}")