Skip to content

Commit 1ca839a

Browse files
committed
Fix Dicey installation
1 parent 99f1e22 commit 1ca839a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ RUN apt update -y && \
2525
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python
2626
RUN mkdir -p /opt/dicey/bin && \
2727
mkdir -p /opt/dicey/dicey_tempfiles && \
28+
chgrp www-data /opt/dicey/dicey_tempfiles && \
29+
chmod g+w /opt/dicey/dicey_tempfiles && \
2830
curl -Lo /opt/dicey/bin/dicey https://github.com/gear-genomics/dicey/releases/download/v0.1.8/dicey_v0.1.8_linux_x86_64bit && \
2931
chmod +x /opt/dicey/bin/dicey
3032
ARG JBROWSE_VERSION=1.12.3

src/primer-design/web/ajaxCalls/diceyInstalled.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def main():
3535
return
3636

3737
dbConnection = Config(genome)
38-
if os.path.isfile(os.path.join(dbConnection.ROOT_PATH,"bin/dicey/indexes/"+genome+"/"+genome+".fa.fm9")):
38+
if os.path.isfile(os.path.join(dbConnection.DICEY_PATH, "indexes", genome, genome+".fa.fm9")):
3939
print "1"
4040
else:
4141
print "0"

0 commit comments

Comments
 (0)