From 8ae5f6ae5f5157514708c8147194c7207d572330 Mon Sep 17 00:00:00 2001 From: clami66 Date: Mon, 25 Mar 2024 11:19:56 +0100 Subject: [PATCH] testing on src --- run_test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run_test.sh b/run_test.sh index 768240f..d3ccac1 100644 --- a/run_test.sh +++ b/run_test.sh @@ -1,16 +1,17 @@ #!/bin/bash set -euo pipefail -which DockQ +src=$(find $(dirname $(which DockQ))/../ -name "DockQ.py" -exec dirname {} \;) +echo $src # Test that cython version behaves the same as nocython coverage run -a --source='DockQ.DockQ' -m DockQ.DockQ examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb > test diff test testdata/1A2K.dockq -coverage run -a --source='DockQ.DockQ' src/DockQ/DockQ.py examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb > test +coverage run -a --source=$src $src/DockQ.py examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb > test diff test testdata/1A2K.dockq coverage run -a --source='DockQ.DockQ' -m DockQ.DockQ examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb --no_align > test diff test testdata/1A2K.dockq -coverage run -a --source='DockQ.DockQ' src/DockQ/DockQ.py examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb --no_align > test +coverage run -a --source=$src $src/DockQ.py examples/1A2K_r_l_b.model.pdb examples/1A2K_r_l_b.pdb --no_align > test diff test testdata/1A2K.dockq # Multiple interfaces