Skip to content

Commit 818314a

Browse files
committed
Merge remote-tracking branch 'origin/main' into swap-hac4ui
2 parents 5288142 + 64d625b commit 818314a

File tree

22 files changed

+53
-41
lines changed

22 files changed

+53
-41
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@ jobs:
2626
# needs to install hd3 so the command-line pages are
2727
# rendered properly
2828
- name: Install HADDOCK3
29-
run: |
30-
pwd
31-
ls -lsa
32-
mkdir bin
33-
touch bin/cns
34-
cd src/fcc/src
35-
chmod u+x Makefile
36-
./Makefile 2>%1 >/dev/null || true
37-
cd -
29+
run: pip install -v .
3830

3931
- name: Generate docs
4032
run: |

examples/peptide-cyclisation/cyclise-peptide-full.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ run_dir = "run1-cyclise-full"
1919
# and comment the lines under the HPC execution
2020
mode = "local"
2121
ncores = 10
22-
less_io = true
22+
debug = false
2323
concat = 1
2424

2525
# molecules to be docked

examples/peptide-cyclisation/cyclise-peptide-test.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ run_dir = "run1-cyclise-test"
1919
# and comment the lines under the HPC execution
2020
mode = "local"
2121
ncores = 10
22-
less_io = true
22+
debug = false
2323
concat = 1
2424

2525
# molecules to be docked

integration_tests/test_caprieval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ def test_caprieval_default(
330330
)
331331

332332

333-
def test_caprieval_less_io(
333+
def test_caprieval_nodebug(
334334
caprieval_module, model_list, expected_ss_data, expected_clt_data
335335
):
336336
caprieval_module.previous_io = MockPreviousIO(path=caprieval_module.path)
337-
caprieval_module.params["less_io"] = True
337+
caprieval_module.params["debug"] = False
338338

339339
caprieval_module.run()
340340

integration_tests/test_emref.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def output(self):
6767
def test_emref_defaults(emref_module, calc_fnat):
6868

6969
emref_module.previous_io = MockPreviousIO(path=emref_module.path)
70+
emref_module.params["debug"] = True
7071

7172
emref_module.run()
7273

@@ -91,6 +92,8 @@ def test_emref_fle(emref_module, calc_fnat):
9192
emref_module.params["fle_end_1 "] = 77
9293
emref_module.params["fle_seg_1 "] = "B"
9394

95+
emref_module.params["debug"] = True
96+
9497
emref_module.run()
9598

9699
assert Path(emref_module.path, "emref_1.pdb").exists()
@@ -118,6 +121,8 @@ def test_emref_mutliple_fle(emref_module, calc_fnat):
118121
emref_module.params["fle_end_2 "] = 47
119122
emref_module.params["fle_seg_2 "] = "B"
120123

124+
emref_module.params["debug"] = True
125+
121126
emref_module.run()
122127

123128
assert Path(emref_module.path, "emref_1.pdb").exists()

integration_tests/test_flexref.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ def test_flexref_defaults(flexref_module, calc_fnat):
7474
flexref_module.run()
7575

7676
assert Path(flexref_module.path, "flexref_1.pdb").exists()
77-
assert Path(flexref_module.path, "flexref_1.out.gz").exists()
7877

7978
fnat = calc_fnat(
8079
model=Path(flexref_module.path, "flexref_1.pdb"),
@@ -94,6 +93,7 @@ def test_flexref_fle(flexref_module, calc_fnat):
9493
flexref_module.params["fle_end_1 "] = 77
9594
flexref_module.params["fle_seg_1 "] = "B"
9695
flexref_module.params["log_level"] = "verbose"
96+
flexref_module.params["debug"] = True
9797

9898
flexref_module.run()
9999

@@ -124,6 +124,8 @@ def test_flexref_mutliple_fle(flexref_module, calc_fnat):
124124
flexref_module.params["fle_end_2 "] = 47
125125
flexref_module.params["fle_seg_2 "] = "B"
126126

127+
flexref_module.params["debug"] = True
128+
127129
flexref_module.run()
128130

129131
assert Path(flexref_module.path, "flexref_1.pdb").exists()

integration_tests/test_mdref.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def output(self):
6767
def test_mdref_defaults(mdref_module, calc_fnat):
6868

6969
mdref_module.previous_io = MockPreviousIO(path=mdref_module.path)
70-
70+
mdref_module.params["debug"] = True
7171
mdref_module.run()
7272

7373
assert Path(mdref_module.path, "mdref_1.pdb").exists()
@@ -91,6 +91,8 @@ def test_mdref_fle(mdref_module, calc_fnat):
9191
mdref_module.params["fle_end_1 "] = 77
9292
mdref_module.params["fle_seg_1 "] = "B"
9393

94+
mdref_module.params["debug"] = True
95+
9496
mdref_module.run()
9597

9698
assert Path(mdref_module.path, "mdref_1.pdb").exists()
@@ -118,6 +120,8 @@ def test_mdref_mutliple_fle(mdref_module, calc_fnat):
118120
mdref_module.params["fle_end_2 "] = 47
119121
mdref_module.params["fle_seg_2 "] = "B"
120122

123+
mdref_module.params["debug"] = True
124+
121125
mdref_module.run()
122126

123127
assert Path(mdref_module.path, "mdref_1.pdb").exists()

integration_tests/test_restraints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def test_restraints_rigidbody(rigidbody_module):
8888
rigidbody_module.params["unambig_fname"] = Path(GOLDEN_DATA, "unambig.tbl")
8989
rigidbody_module.params["hbond_fname"] = Path(GOLDEN_DATA, "hbond.tbl")
9090
rigidbody_module.params["mode"] = "local"
91+
rigidbody_module.params["debug"] = True
9192

9293
rigidbody_module.run()
9394

integration_tests/test_rigidbody.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def test_rigidbody_local(rigidbody_module):
8383
rigidbody_module.params["mol_fix_origin_1"] = True
8484
rigidbody_module.params["mol_fix_origin_2"] = False
8585
rigidbody_module.params["mode"] = "local"
86+
rigidbody_module.params["debug"] = True
8687

8788
rigidbody_module.run()
8889

@@ -108,6 +109,7 @@ def test_rigidbody_mpi(rigidbody_module):
108109
rigidbody_module.params["mol_fix_origin_2"] = False
109110
rigidbody_module.params["mode"] = "mpi"
110111
rigidbody_module.params["ncores"] = 1
112+
rigidbody_module.params["debug"] = True
111113

112114
rigidbody_module.run()
113115

@@ -122,15 +124,14 @@ def test_rigidbody_mpi(rigidbody_module):
122124
assert Path(rigidbody_module.path, f"rigidbody_{i}.inp").stat().st_size > 0
123125

124126

125-
def test_rigidbody_less_io(rigidbody_module):
127+
def test_rigidbody_debug(rigidbody_module):
126128

127129
sampling = 2
128130
rigidbody_module.previous_io = MockPreviousIO(path=rigidbody_module.path)
129131
rigidbody_module.params["sampling"] = sampling
130132
rigidbody_module.params["cmrest"] = True
131133
rigidbody_module.params["mol_fix_origin_1"] = True
132134
rigidbody_module.params["mol_fix_origin_2"] = False
133-
rigidbody_module.params["less_io"] = True
134135

135136
rigidbody_module.run()
136137

integration_tests/test_topoaa.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_topoaa_module_protein(topoaa_module):
2929
topoaa_module.params["mol1"] = {"prot_segid": "A"}
3030
topoaa_module.params["mol2"] = {"prot_segid": "B"}
3131
topoaa_module.params["cns_exec"] = CNS_EXEC
32+
topoaa_module.params["debug"] = True
3233

3334
topoaa_module.run()
3435

@@ -71,6 +72,7 @@ def test_topoaa_module_ligand(topoaa_module):
7172
topoaa_module.params["delenph"] = False
7273
topoaa_module.params["preprocess"] = False
7374
topoaa_module.params["cns_exec"] = CNS_EXEC
75+
topoaa_module.params["debug"] = True
7476

7577
topoaa_module.run()
7678

@@ -94,6 +96,7 @@ def test_topoaa_cyclic(topoaa_module):
9496
topoaa_module.params["disulphide_dist"] = 4.0
9597
topoaa_module.params["mol1"] = {"cyclicpept": True}
9698
topoaa_module.params["cns_exec"] = CNS_EXEC
99+
topoaa_module.params["debug"] = True
97100

98101
topoaa_module.run()
99102

0 commit comments

Comments
 (0)