Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/services/results_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def classify_boltz_proteinfold_output(
sample_id_pattern = re.escape(sample_id) if sample_id else "single_prediction"
return classify_proteinfold_output_key(
key,
pdb_pattern=rf"/boltz/top_ranked_structures/{sample_id_pattern}\.pdb",
pdb_pattern=rf"/boltz/top_ranked_structures/{sample_id_pattern}\.(?:cif|pdb)",
# Find across all subfolders
stats_pattern=rf"/boltz/{sample_id_pattern}/.+\.tsv",
alignment_pattern=rf"/mmseqs/{sample_id_pattern}\.a3m",
Expand Down
3 changes: 3 additions & 0 deletions tests/test_services_results_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ def test_boltz_proteinfold_helpers_classify_keys_and_build_prefixes():
assert classify_boltz_proteinfold_output(
f"{run.id}/boltz/top_ranked_structures/T1024.pdb", "T1024"
) == ClassifiedOutput("pdb", "T1024.pdb")
assert classify_boltz_proteinfold_output(
f"{run.id}/boltz/top_ranked_structures/T1024.cif", "T1024"
) == ClassifiedOutput("pdb", "T1024.cif")
assert classify_boltz_proteinfold_output(
f"{run.id}/boltz/T1024/abcd1234.tsv", "T1024"
) == ClassifiedOutput("stats_csv", "abcd1234.tsv")
Expand Down
Loading