---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-25-266e64ed8464> in <module>() ----> 1 out = a.assemble_circular()
/usr/local/lib/python3.6/dist-packages/pydna/assembly.py in <genexpr>(.0) 342 cpaths_sorted=[] 343 for cpath in cpaths: --> 344 order, node = min((self.G.node[node]["order"],node) for node in cpath) 345 i=cpath.index(node) 346 cpaths_sorted.append((order, cpath[i:]+cpath[:i]))
AttributeError: 'MultiDiGraph' object has no attribute 'node'
AttributeError Traceback (most recent call last)
<ipython-input-35-b1ec03edd045> in <module>() 4 x = Assembly((a,b,c), limit=14) 5 x ----> 6 x.assemble_circular()
--
You received this message because you are subscribed to a topic in the Google Groups "pydna" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pydna/NQd-VvWyePA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pydna+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pydna/19e3a3c8-bbe8-4ea2-82cb-5ee162bfe6b4%40googlegroups.com.
Thanks a tonne @BjornFJohansson . I did have networkx version 2.4 which was the default on Google Collaboratory-googles online ipython/jupyter notebook environment. I downgraded networkx to 2.3
!pip3 install networkx==2.3
The assemblies then worked perfectly.
Thanks again for your help.
--
You received this message because you are subscribed to a topic in the Google Groups "pydna" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pydna/NQd-VvWyePA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pydna+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pydna/a8e483fd-6d61-4871-81c3-719f2f03c6f9%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to pydna+unsubscribe@googlegroups.com.