Data: the selector chooses the source, Cloud (data/) or Emulator (the runs of data_diff/), then the run; a run listed right after its station

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-19 11:11:09 +01:00
1 parent d4d2e6b7b1
commit cce6b850c6
2 files changed
+19 -7

No files matched your search

+2 -2
View File
@@ -66,8 +66,8 @@ class Refusal(ValueError):
def stations():
runs = sorted(f"{d.parent.parent.name}{RUN}{d.name}" for d in DATA_DIFF.glob("*/runs/*") if d.is_dir())
return sorted(d.name for d in DATA.iterdir() if d.is_dir()) + runs
runs = [f"{d.parent.parent.name}{RUN}{d.name}" for d in DATA_DIFF.glob("*/runs/*") if d.is_dir()]
return sorted([d.name for d in DATA.iterdir() if d.is_dir()] + runs) # a run right after its station
def serial(station):