Skip to content

Commit c9be1e3

Browse files
committed
tests for xcos and featurestein
1 parent 131d4fa commit c9be1e3

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Automated pipeline test specification.
2+
3+
[
4+
5+
version = 1,
6+
7+
// Testing featurestein-generate.py
8+
// reading from STDIN and writing to STDOUT
9+
test_featurestein_generate = [
10+
11+
command: '''python -m pipelines.rdkit.featurestein-generate
12+
-i ${PIN}/mpro/hits-17.sdf.gz
13+
-f ${POUT}featurestein.p''',
14+
15+
stderr: [ 'Wrote merged feature map with 69 features as pickle to' ],
16+
17+
creates: [ 'featurestein.p' ]
18+
]
19+
20+
]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Automated pipeline test specification.
2+
3+
[
4+
5+
version = 1,
6+
7+
// Testing featurestein-score.py
8+
// reading from STDIN and writing to STDOUT
9+
test_featurestein_score = [
10+
11+
command: '''python -m pipelines.rdkit.featurestein-score
12+
-i ${PIN}/mpro/poses.sdf.gz
13+
-f ${PIN}/mpro/featurestein.p
14+
-o ${POUT}fstein''',
15+
16+
stderr: [ 'FeatureMap has 69 features' ],
17+
18+
creates: [ 'fstein.sdf.gz' ]
19+
]
20+
21+
]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Automated pipeline test specification.
2+
3+
[
4+
5+
version = 1,
6+
7+
// Testing xcos.py
8+
// reading from STDIN and writing to STDOUT
9+
test_xcos = [
10+
11+
command: '''python -m pipelines.rdkit.xcos
12+
-i ${PIN}/mpro/poses.sdf.gz
13+
-f ${PIN}/mpro/hits-17.sdf.gz
14+
-o ${POUT}xcos''',
15+
16+
stderr: [ 'No output format specified - using sdf' ],
17+
18+
creates: [ 'xcos.sdf.gz' ]
19+
]
20+
21+
]

0 commit comments

Comments
 (0)