diff python/cluster.py @ 11:e411408d64ec

from python repo
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 11 Dec 2021 16:13:04 -0500
parents 3ee329b129c6
children 1e42c0147a49
line wrap: on
line diff
--- a/python/cluster.py	Thu May 27 06:09:01 2021 -0400
+++ b/python/cluster.py	Sat Dec 11 16:13:04 2021 -0500
@@ -40,7 +40,12 @@
     et=ff[9]
     l=infile.readline().rstrip()
     print(l,file=outfile)
-    (orad,ymin,ymax)=intsMaybe(PPAT.split(l))
+    l2=PPAT.split(l)
+    if l2[-1]=='bounded':
+      orad=int(l2[1])
+      ymin=ymax=-1
+    else:
+      (orad,ymin,ymax)=intsMaybe(l2)
     _=infile.readline()
     for l in infile:
       found=False