23 Nov
2011
23 Nov
'11
7:56 a.m.
On 11/23/11 3:55 AM, flavio seixas wrote: > This error appears in the shell: > > Traceback (most recent call last): > File "loop.py", line 30, in ? > ok_models = filter(lambda x: x['failure'] is None, m.outputs) > TypeError: iteration over non-sequence
Ah, that's because m.outputs gives you all of the comparative models built in this run. You didn't build any comparative models, hence the error. To get all of the loop models instead, use m.loop.outputs.
Ben Webb, Modeller Caretaker
--
modeller-care@salilab.org http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage