Skip to content

Commit

Permalink
build scripts updated and bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schoolpost committed Sep 5, 2018
1 parent a980479 commit 4cd69dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ services:
"wsgi:app"
volumes:
- '$MUSTACHE_WORKSPACE:/app/workspace'
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '.:/usr/src/app:ro'
environment:
DISPLAY: ':0'
ports:
- '5000:5000'
links:
Expand All @@ -26,11 +23,8 @@ services:
user: nobody
links:
- redis
environment:
DISPLAY: ':0'
volumes:
- '$MUSTACHE_WORKSPACE:/app/workspace'
- '/tmp/.X11-unix:/tmp/.X11-unix'
- '.:/usr/src/app:ro'

redis:
Expand Down
4 changes: 2 additions & 2 deletions mustache/static/js/dashboard/myplots.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var globalColor = d3.interpolateViridis,
medoids = {},
ppg,
ids,
fosc = [146, 150, 138, 122, 163, 121, 187, 180];
fosc = [];

var barWidth = 6;
var barPadding = 1.5;
Expand Down Expand Up @@ -1119,7 +1119,7 @@ function dendrogram() {

clusters = {}
node.each(function (d) {
if (fosc.includes(+d.data.name)) {
if (fosc.includes(+d.data.name) && +d.data.name != 0) {
clusters[d.data.name] = d;
}
})
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redis==2.10.*
numpy==1.15.1
Cython==0.28.5
flask_assets==0.12
jsmin==2.2.2
hai==0.0.6
# hdbscan==0.8.15
matplotlib==2.2.3
Expand Down
3 changes: 1 addition & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
export COMPOSE_PROJECT_NAME=mustache
export MUSTACHE_WORKSPACE=
export MUSTACHE_WORKSPACE=/home/csaba/Documents/datasets
docker-compose up -d
xhost +
sleep 3
xdg-open http://127.0.0.01:5000

0 comments on commit 4cd69dd

Please sign in to comment.