diff --git a/python/obitools3/dms/view/view.pyx b/python/obitools3/dms/view/view.pyx index 9f1eed3..64e4c56 100755 --- a/python/obitools3/dms/view/view.pyx +++ b/python/obitools3/dms/view/view.pyx @@ -450,15 +450,14 @@ cdef class View(OBIWrapper) : s+=invi_node_name_quotes s+=b" [width=0, style=invis, shape=point]\n" history.append(s) - for input in level: - # Connect all inputs to the invisible node - for elt in input: - s = b"\t" - s = s+b"\""+elt+b"\"" - s+=b" -> " - s+=invi_node_name_quotes - s+=b" [arrowhead=none]\n" - history.append(s) + # Connect all inputs to the invisible node + for elt in input: + s = b"\t" + s = s+b"\""+elt+b"\"" + s+=b" -> " + s+=invi_node_name_quotes + s+=b" [arrowhead=none]\n" + history.append(s) to_connect_to_command = invi_node_name_no_quotes else: to_connect_to_command = input[0]