Skip to content

Commit 0e08936

Browse files
committed
fix: filter project_ids using project list in clean_projects
1 parent 0e7c797 commit 0e08936

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/cba/clean_projects.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,9 @@ def build_method_assignments(
470470
rows = pd.concat([rows, missing_rows], ignore_index=True)
471471
assigned.append(rows)
472472

473-
assigned = pd.concat(assigned, ignore_index=True)
473+
assigned = pd.concat(assigned, ignore_index=True).query(
474+
"project_id in @projects.project_id"
475+
)
474476
return assigned
475477

476478

0 commit comments

Comments
 (0)