[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Loop Model ranking



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
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage