Browse Source

bit of cleanup

plotting-unify
Michael Pilosov, PhD 9 months ago
parent
commit
cbb8218984
  1. 0
      archive/hsv1.txt
  2. 0
      archive/hsv2.txt
  3. 0
      archive/hsv3.txt
  4. 0
      archive/index.html
  5. 6
      archive/scrape.py

0
hsv1.txt → archive/hsv1.txt

0
hsv2.txt → archive/hsv2.txt

0
hsv3.txt → archive/hsv3.txt

0
index.html → archive/index.html

6
scrape.py → archive/scrape.py

@ -2,7 +2,7 @@ import glob
import shutil import shutil
from pathlib import Path 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): 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) print(latest_checkpoint)
if not dry_run: if not dry_run:
shutil.copy(source_path, dir_path) shutil.copy(source_path, dir_path)
make_image(latest_checkpoint, f"out/version_{i}") create_rectangle(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}b", color=False)
else: else:
print("Would copy", source_path, dir_path) print("Would copy", source_path, dir_path)
return H return H
Loading…
Cancel
Save