From cbb821898444ff5c59ecfa3a7dbe4733e3218c15 Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Mon, 4 Mar 2024 21:46:05 +0000 Subject: [PATCH] bit of cleanup --- hsv1.txt => archive/hsv1.txt | 0 hsv2.txt => archive/hsv2.txt | 0 hsv3.txt => archive/hsv3.txt | 0 index.html => archive/index.html | 0 scrape.py => archive/scrape.py | 6 +++--- 5 files changed, 3 insertions(+), 3 deletions(-) rename hsv1.txt => archive/hsv1.txt (100%) rename hsv2.txt => archive/hsv2.txt (100%) rename hsv3.txt => archive/hsv3.txt (100%) rename index.html => archive/index.html (100%) rename scrape.py => archive/scrape.py (88%) diff --git a/hsv1.txt b/archive/hsv1.txt similarity index 100% rename from hsv1.txt rename to archive/hsv1.txt diff --git a/hsv2.txt b/archive/hsv2.txt similarity index 100% rename from hsv2.txt rename to archive/hsv2.txt diff --git a/hsv3.txt b/archive/hsv3.txt similarity index 100% rename from hsv3.txt rename to archive/hsv3.txt diff --git a/index.html b/archive/index.html similarity index 100% rename from index.html rename to archive/index.html diff --git a/scrape.py b/archive/scrape.py similarity index 88% rename from scrape.py rename to archive/scrape.py index 7d7cb1c..9863dfa 100644 --- a/scrape.py +++ b/archive/scrape.py @@ -2,7 +2,7 @@ import glob import shutil from pathlib import Path -from check import make_image +from check import create_rectangle def get_exps(pattern: str, splitter: str = "_", dry_run: bool = True): @@ -33,8 +33,8 @@ def get_exps(pattern: str, splitter: str = "_", dry_run: bool = True): print(latest_checkpoint) if not dry_run: shutil.copy(source_path, dir_path) - make_image(latest_checkpoint, f"out/version_{i}") - # make_image(latest_checkpoint, f"out/version_{i}b", color=False) + create_rectangle(latest_checkpoint, f"out/version_{i}") + # create_rectangle(latest_checkpoint, f"out/version_{i}b", color=False) else: print("Would copy", source_path, dir_path) return H