Group scripts into pad/, shows/ and anim/ folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-10-22 11:54:36 +13:00
1 parent 5f593b973c
commit 647cfa3a75
26 files changed
+68 -66

No files matched your search

+4 -4
View File
@@ -290,12 +290,12 @@ class ShowFileTest(unittest.TestCase):
target.unlink(missing_ok=True)
def test_animation_script_dry_run(self):
show = load_show(ROOT / "scripts" / "anim_eight.py")
show = load_show(ROOT / "scripts" / "anim" / "anim_eight.py")
frames = [show_frame(show, t) for t in (0, 2000)]
self.assertNotEqual(frames[0]["m1"][2], frames[1]["m1"][2])
self.assertEqual(frames[0]["m1"][8], 255)
completed = subprocess.run(
[sys.executable, "-m", "showfile", "run", "scripts/anim_eight.py", "--seconds", "0.1"],
[sys.executable, "-m", "showfile", "run", "scripts/anim/anim_eight.py", "--seconds", "0.1"],
cwd=ROOT,
check=False,
capture_output=True,
@@ -329,7 +329,7 @@ class ShowFileTest(unittest.TestCase):
def test_stage_map_drives_the_whole_rig(self):
stage = json.loads((ROOT / "stage" / "map.json").read_text(encoding="utf-8"))
show = load_show(ROOT / "scripts" / "anim_stage.py")
show = load_show(ROOT / "scripts" / "anim" / "anim_stage.py")
self.assertEqual([fx.key for fx in show.fixtures], list(stage["fixtures"]))
for key, raw in stage["fixtures"].items():
fixture = show.fixtures_by_key[key]
@@ -370,7 +370,7 @@ class ShowFileTest(unittest.TestCase):
outside = validate_show({"stage": "/etc/passwd"})
self.assertFalse(outside["ok"])
completed = subprocess.run(
[sys.executable, "-m", "showfile", "run", "scripts/anim_stage.py", "--seconds", "0.1"],
[sys.executable, "-m", "showfile", "run", "scripts/anim/anim_stage.py", "--seconds", "0.1"],
cwd=ROOT,
check=False,
capture_output=True,