Skip to content

Commit

Permalink
updating input file location
Browse files Browse the repository at this point in the history
  • Loading branch information
wesfloyd committed Jul 29, 2022
1 parent f4dfb8c commit eb3b14e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ RUN conda install -y -c conda-forge openmm
WORKDIR /project

COPY ./run_openmm_simulation.py /project
COPY ./input/2dri-processed.pdb /project/input
COPY ./2dri-processed.pdb /project

CMD ["python","run_openmm_simulation.py"]
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ bacalhau get [JOB_ID]

#git clone https://github.com/wesfloyd/openmm-test.git

mkdir output

docker run \
-v output:/project/output \
wesfloyd/bacalwow-openmm
Expand All @@ -36,15 +38,13 @@ docker run \
```





### To create the Docker image from Dockerfile

```bash
docker build -t wesfloyd/bacalwow-openmm .

docker push wesfloyd/bacalwow-openmm

```

### To create the Docker Image from scratch

Expand All @@ -67,8 +67,8 @@ cp openmm-test/input/2dri-processed.pdb ./input
python run_openmm_simulation.py

#exit
#docker commit <CONTAINER_ID> wesfloyd/bacalwow-openmm-test
#docker push wesfloyd/bacalwow-openmm-test
#docker commit <CONTAINER_ID> wesfloyd/bacalwow-openmm
#docker push wesfloyd/bacalwow-openmm

```

Expand Down
2 changes: 1 addition & 1 deletion run_openmm_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Input Files

pdb = PDBFile('input/2dri-processed.pdb')
pdb = PDBFile('2dri-processed.pdb')
forcefield = ForceField('amber14-all.xml', 'amber14/tip3pfb.xml')

# System Configuration
Expand Down

0 comments on commit eb3b14e

Please sign in to comment.