Closed linkerst closed 7 years ago
Currently there is no way to change the network using the web browser based interface. I think with the following 4 steps it could work:
docker run -it -p 5000:5000 --entrypoint=bash jdrudolph/photon
.docker ps
and copy the file by running docker cp awesomeNetwork.txt containerName:/photon/db/awesomeNetwork.txt
.default.py
to point to 'ppi-network' : join(_DB_DIR, 'awesomeNetwork.txt')
. Please review the code for loading the network in data/network.py../run.sh
from the /photon
directory, and use through the browser as usual.Thanks,
It worked! I used the Docker Quickstart Terminal instead of powershell. However, I think it should be
docker run -it -p 5000:5000 --entrypoint=bash jdrudolph/photon
instead of docker start
.
Best, Stephanie
thanks for the correction! I'm never sure if copy+paste is a curse or a blessing...
Hello Stephanie (@linkerst),
I would like to know how you managed to upload your PPI network file to the docker container. I tried all I could investigate but I am sure I am missing a very simple little thing.
Thanks! C
Hello Jan,
Did I understand it correctly that PHOTON is using the human PPI (see default.py)? If yes, is it possible for the user to change the files specified in default.py, preferably from a Windows machine?
Many Thanks, Stephanie