From aa8beb904cea15d060a73b3e0eb2832bd6091386 Mon Sep 17 00:00:00 2001 From: Dima Molodenskiy Date: Wed, 15 Nov 2023 13:13:25 +0100 Subject: [PATCH] MmcifChainFiltered takes now pathlib, not string --- test/test_remove_clashes_low_plddt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_remove_clashes_low_plddt.py b/test/test_remove_clashes_low_plddt.py index ef3a3a45..6f887940 100755 --- a/test/test_remove_clashes_low_plddt.py +++ b/test/test_remove_clashes_low_plddt.py @@ -2,10 +2,11 @@ import os import alphapulldown from alphapulldown.remove_clashes_low_plddt import MmcifChainFiltered +from pathlib import Path alphapulldown_dir = os.path.dirname(alphapulldown.__file__) -cif_file = os.path.join(alphapulldown_dir, '..', - 'test', 'test_data','true_multimer','cage_BC_AF.cif') +alphapulldown_dir = Path(alphapulldown_dir) +cif_file = alphapulldown_dir / '..' / 'test' / 'test_data' / 'true_multimer' / 'cage_BC_AF.cif' def test_init():