Skip to content

Commit 4e09f44

Browse files
committed
Merge branch 'development' of github.com:MetaCell/NetPyNE-UI into feature/netpyne-44
2 parents 87d0140 + 87b3167 commit 4e09f44

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

jupyter_hub/Dockerfile_spawner

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ RUN /bin/bash -c "INCUBATOR_VER=${INCUBATOR_VER} source activate snakes && pip i
1616
# Clone NetPyNE-UI and install the development version
1717
RUN wget https://github.com/MetaCell/NetPyNE-UI/archive/$netpyneuiBranch.zip -q
1818
RUN unzip $netpyneuiBranch.zip
19-
WORKDIR /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/utilities
19+
WORKDIR /opt/workspace-$netpyneuiBranch/utilities
2020
RUN /bin/bash -c "source activate snakes && python --version"
2121
RUN /bin/bash -c "source activate snakes && exec python install.py branch $netpyneuiBranch"
2222
WORKDIR /home/jovyan
2323
RUN git clone https://github.com/Neurosim-lab/netpyne_workspace
2424
WORKDIR /home/jovyan/workspace
25-
RUN ln -sfn /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/netpyne_ui/tests tests
25+
RUN ln -sfn /opt/workspace-$netpyneuiBranch/netpyne_ui/tests tests
2626

2727
# Copy jupyterhub_config
28-
# RUN cp /home/jovyan/work/NetPyNE-UI-$netpyneuiBranch/jupyterhub_config.py .
28+
# RUN cp /opt/workspace-$netpyneuiBranch/jupyterhub_config.py .
2929

3030
CMD /bin/bash -c "source activate snakes && exec jupyterhub-singleuser --debug --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui"

k8s/cf_values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hub:
1111
shutdownOnLogout: true
1212
extraConfig:
1313
timing: |
14-
c.Spawner.notebook_dir = '/home/jovyan/work/NetPyNE-UI'
14+
c.Spawner.notebook_dir = '/opt/workspace'
1515
c.Spawner.default_url = '/geppetto'
1616
spawner: >-
1717
c.Spawner.args = ["--library=netpyne_ui"]

k8s/minikube_values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hub:
2020
c.Spawner.port = 8000
2121
c.Spawner.http_timeout = 300
2222
c.Spawner.start_timeout = 300
23-
c.Spawner.notebook_dir = '/home/jovyan/work/NetPyNE-UI'
23+
c.Spawner.notebook_dir = '/opt/workspace'
2424
c.Spawner.default_url = '/geppetto'
2525
c.Spawner.debug = True
2626
c.Spawner.disable_check_xsrf=True

tests/frontend/e2e/tests/SaveOpenFile.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ describe('Save / Open File testing', () => {
382382
return pwd_code_outputs.map(pwd_code_output => pwd_code_output.innerText)
383383
})
384384

385-
expect(first_code_output[0]).toBe("'/home/jovyan/work/NetPyNE-UI/workspace'")
385+
expect(first_code_output[0]).toBe("'/opt/workspace/workspace'")
386386

387387
const code_lines = await python_frame.$$(selectors.PYTHON_CELL_SELECTOR)
388388

@@ -398,7 +398,7 @@ describe('Save / Open File testing', () => {
398398
return cd_code_outputs.map(cd_code_output => cd_code_output.innerText)
399399
})
400400

401-
expect(second_code_output[0]).toBe("/home/jovyan/work/NetPyNE-UI/workspace/saved_models/aut_test/src\n")
401+
expect(second_code_output[0]).toBe("/opt/workspace/workspace/saved_models/aut_test/src\n")
402402

403403
const ls_code_lines = await python_frame.$$(selectors.PYTHON_CELL_SELECTOR)
404404

0 commit comments

Comments
 (0)