Skip to content

Commit

Permalink
tests for xcos and featurestein
Browse files Browse the repository at this point in the history
  • Loading branch information
tdudgeon committed Jul 7, 2020
1 parent 131d4fa commit c9be1e3
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/python/pipelines/rdkit/featurestein-generate.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Automated pipeline test specification.

[

version = 1,

// Testing featurestein-generate.py
// reading from STDIN and writing to STDOUT
test_featurestein_generate = [

command: '''python -m pipelines.rdkit.featurestein-generate
-i ${PIN}/mpro/hits-17.sdf.gz
-f ${POUT}featurestein.p''',

stderr: [ 'Wrote merged feature map with 69 features as pickle to' ],

creates: [ 'featurestein.p' ]
]

]
21 changes: 21 additions & 0 deletions src/python/pipelines/rdkit/featurestein-score.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Automated pipeline test specification.

[

version = 1,

// Testing featurestein-score.py
// reading from STDIN and writing to STDOUT
test_featurestein_score = [

command: '''python -m pipelines.rdkit.featurestein-score
-i ${PIN}/mpro/poses.sdf.gz
-f ${PIN}/mpro/featurestein.p
-o ${POUT}fstein''',

stderr: [ 'FeatureMap has 69 features' ],

creates: [ 'fstein.sdf.gz' ]
]

]
21 changes: 21 additions & 0 deletions src/python/pipelines/rdkit/xcos.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Automated pipeline test specification.

[

version = 1,

// Testing xcos.py
// reading from STDIN and writing to STDOUT
test_xcos = [

command: '''python -m pipelines.rdkit.xcos
-i ${PIN}/mpro/poses.sdf.gz
-f ${PIN}/mpro/hits-17.sdf.gz
-o ${POUT}xcos''',

stderr: [ 'No output format specified - using sdf' ],

creates: [ 'xcos.sdf.gz' ]
]

]

0 comments on commit c9be1e3

Please sign in to comment.