Skip to content

Commit 54e6266

Browse files
Fix earliest_date bug
1 parent efaf301 commit 54e6266

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sc2ts/inference.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def preprocess_and_match_alignments(
462462
samples_iter = enumerate(samples)
463463
with tqdm.tqdm(
464464
samples_iter,
465-
desc="Fetch",
465+
desc=f"Fetch:{date}",
466466
total=len(samples),
467467
disable=not show_progress,
468468
) as bar:
@@ -551,7 +551,7 @@ def extend(
551551
max_insertion_delay = 30
552552
earliest_date = parse_date(date) - datetime.timedelta(days=max_insertion_delay)
553553
ts = add_matching_results(
554-
f"match_date<'{date}' AND match_date>'earliest_date'",
554+
f"match_date<'{date}' AND match_date>'{earliest_date}'",
555555
ts=ts,
556556
match_db=match_db,
557557
date=date,
@@ -650,7 +650,7 @@ def add_matching_results(
650650

651651
with tqdm.tqdm(
652652
grouped_matches.items(),
653-
desc="Build",
653+
desc=f"Build:{date}",
654654
total=len(grouped_matches),
655655
disable=not show_progress,
656656
) as bar:

0 commit comments

Comments
 (0)