Detectors, loop and sharpening sessions moved to the repo root (D-084)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be8897e38e
commit
4d99585474
691 files changed
+122
-109
No files matched your search
@@ -37,10 +37,10 @@ def station_du_cas(cas):
|
||||
|
||||
|
||||
def lot_d_origine(cas, fiche, station):
|
||||
m = re.search(r"séance `?(?:vues-deplacements/boucle/)?(\d{4}-\d\d-\d\dT\d{4}Z)", fiche)
|
||||
m = re.search(r"séance `?(?:boucle/)?(\d{4}-\d\d-\d\dT\d{4}Z)", fiche)
|
||||
if not m:
|
||||
return None
|
||||
for builder in sorted(glob.glob(os.path.join(ROOT, "vues-deplacements", "boucle", f"{m[1]}_{station}", "lot-*", "builder.md"))):
|
||||
for builder in sorted(glob.glob(os.path.join(ROOT, "boucle", f"{m[1]}_{station}", "lot-*", "builder.md"))):
|
||||
if re.search(rf"\*\*Cas créés\*\*.*\b{cas}\b", lire(builder)):
|
||||
return os.path.dirname(builder)
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user