diff --git a/messung/pruef/tisch6.py b/messung/pruef/tisch6.py index 75de13bd..c1f1c506 100644 --- a/messung/pruef/tisch6.py +++ b/messung/pruef/tisch6.py @@ -269,6 +269,10 @@ def main(): ti, tn = (int(v) for v in teil.split("/")) if teil else (0, 1) if teil: aus = aus[:-6] + ".teil%d.jsonl" % ti + # TISCH_AB= (29.11.): nur Blaetter ab b (Kartenstrom gleich), eigene Datei .teilab.jsonl + ab = int(os.environ.get("TISCH_AB") or 0) + if ab: + aus = aus[:-6] + ".teilab%d.jsonl" % ab schon = {} # TISCH_AUCH= (29.11.): fertige Haende auch aus dieser Datei ueberspringen (Teile nach einem ungeteilten Lauf), nur lesen auch = os.environ.get("TISCH_AUCH") @@ -295,7 +299,7 @@ def main(): for b in range(blaetter): blatt = DECK[:] rng.shuffle(blatt) - if b % tn != ti: + if b % tn != ti or b < ab: continue for dreh in range(n): xs = [(dreh + k) % n for k in range(drei)]