Skip to content

Commit

Permalink
fix: caller splitting for old cases (#1741) (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jun 26, 2024
1 parent 7ac94eb commit a9d9416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/svs/models/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from itertools import islice
import json
import os
import re
import subprocess
from tempfile import TemporaryDirectory
import traceback
Expand Down Expand Up @@ -346,7 +347,7 @@ def _inner(tmpdir):
records = StructuralVariant.objects.filter(case_id=case_id, set_id=variant_set_id)
callers = set()
for record in records:
for caller in record.caller.split(";"):
for caller in re.split(r"[+;]", record.caller):
callers.add(caller)

_write_header(outputf, filter_job.case, list(sorted(callers)))
Expand Down

0 comments on commit a9d9416

Please sign in to comment.