Skip to content

Commit ee54bef

Browse files
committed
fixes for old-style service descriptors
1 parent fe0fd33 commit ee54bef

File tree

5 files changed

+9
-21
lines changed

5 files changed

+9
-21
lines changed

Dockerfile-rdkit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ RUN apt-get -y update && apt-get -y install zip unzip
1010
COPY src/python /opt/python
1111
RUN pip install -e /opt/python
1212
# And the pipeline-utilities
13-
RUN pip install matplotlib im-pipelines-utils==2.2.* im-pipelines-utils-rdkit==1.4.*
13+
RUN pip install molvs standardiser matplotlib im-pipelines-utils==2.2.* im-pipelines-utils-rdkit==1.4.*

src/python/pipelines/docking/obabel_prepare_pdb.dsd.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@
4444
},
4545
"inputRoutes": [ {"route": "FILE"} ],
4646
"outputRoutes": [ {"route": "FILE"} ],
47-
"imageName": "abradle/obabel",
48-
"command": "cp -r /pipelines /tmp/pipelines && pip install -e /tmp/pipelines && python -m pipelines.docking.obabel_prepare_pdb -i ${PIN}pdb.pdb.gz -o ${POUT}mol2 -mol2${protonate ? ' -prot ' + protonate : ''} --meta",
49-
"volumes": {
50-
"pipelines": "/pipelines"
51-
}
47+
"imageName": "informaticsmatters/rdkit_pipelines",
48+
"command": "python -m pipelines.docking.obabel_prepare_pdb -i ${PIN}pdb.pdb.gz -o ${POUT}mol2 -mol2${protonate ? ' -prot ' + protonate : ''} --meta"
5249
}

src/python/pipelines/rdkit/sanifier_enumerator.dsd.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@
109109
"thinDescriptors": [{"input": "input"}],
110110
"inputRoutes": [ {"route": "FILE"} ],
111111
"outputRoutes": [ {"route": "FILE"} ],
112-
"imageName": "abradle/standardiser",
113-
"command": "cp -r /pipelines /tmp/pipelines && pip install -e /tmp/pipelines && python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -mf $molFormat ${tautomers ? ' -et' : ''}${stereoisomers ? ' -es' : ''} --meta",
114-
"volumes": {
115-
"pipelines": "/pipelines"
116-
}
112+
"imageName": "informaticsmatters/rdkit_pipelines",
113+
"command": "python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -mf $molFormat ${tautomers ? ' -et' : ''}${stereoisomers ? ' -es' : ''} --meta"
117114
}

src/python/pipelines/rdkit/sanifier_standardiser_flatkinson.dsd.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
"thinDescriptors": [{"input": "input", "preserve": false}],
5555
"inputRoutes": [ {"route": "FILE"} ],
5656
"outputRoutes": [ {"route": "FILE"} ],
57-
"imageName": "abradle/standardiser",
58-
"command": "cp -r /pipelines /tmp/pipelines && pip install -e /tmp/pipelines && python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -st -stm flatkinson --meta",
59-
"volumes": {
60-
"pipelines": "/pipelines"
61-
}
57+
"imageName": "informaticsmatters/rdkit_pipelines",
58+
"command": "python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -st -stm flatkinson --meta"
6259
}

src/python/pipelines/rdkit/sanifier_standardiser_molvs.dsd.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
"thinDescriptors": [{"input": "input", "preserve": false}],
5555
"inputRoutes": [ {"route": "FILE"} ],
5656
"outputRoutes": [ {"route": "FILE"} ],
57-
"imageName": "abradle/standardiser",
58-
"command": "cp -r /pipelines /tmp/pipelines && pip install -e /tmp/pipelines && python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -st -stm molvs --meta",
59-
"volumes": {
60-
"pipelines": "/pipelines"
61-
}
57+
"imageName": "informaticsmatters/rdkit_pipelines",
58+
"command": "python -m pipelines.rdkit.sanifier -i ${PIN}input.data.gz -if json -o ${POUT}output -of json -st -stm molvs --meta"
6259
}

0 commit comments

Comments
 (0)