From f83a2bc21a15f04265fd4f5bc23a7a7cf6a04d18 Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Sun, 3 Mar 2024 19:04:45 +0000 Subject: [PATCH] accept nondeterminism, use loading --- baseline.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/baseline.py b/baseline.py index df2bf77..2a5f9ab 100644 --- a/baseline.py +++ b/baseline.py @@ -39,10 +39,12 @@ DIR = "/teamspace/studios/this_studio/colors/colors-umap" prefix = "" if KIND == "umap": - prefix = f"{SEED:04d}_" -FDIR = f"{DIR}/{KIND}" + prefix = f"{SEED:04d}" + FDIR = DIR +else: + FDIR = f"{DIR}/{KIND}" Path(FDIR).mkdir(exist_ok=True, parents=True) -fname = f"{FDIR}/{prefix}sorted_colors_circle.png" +fname = f"{FDIR}/v{prefix}.png" if KIND in ("lex", "alpha", "abc"):