Skip to content

Information for preparation of the hands-on tutorial for optinist

Notifications You must be signed in to change notification settings

oist/optinist_tutorial_preparation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

preparation instruction

This repository provides instructions for preparing for the hands-on OptiNiSt tutorial. In the tutorial session, participants will run OptiNiSt using small sample data on their computers. To effectively experience the tutorial, we ask participants to download the Docker all-in-one version. Please follow the instructions (1-6) below and prepare before the tutorial. The Docker image used in this tutorial is relatively large and can be difficult to download where the network is unstable. We strongly recommend downloading the image in a stable network environment.

preparation


  1. Download and install Docker Desktop.
  • For Mac users, please note that Docker provides different installers for Intel and Apple silicon cpu.

  • Ducumentation for installation of Docker desktop for Windows is here, for Mac is here. Basically just default installation should work.


  1. Start the Docker Desktop application.
  • For M1/2 Mac users, make sure 'Rosetta for x86_64/amd64 emulation on Apple Silicon' is checked in the settings for Docker Desktop.

  1. Open a PowerShell (Windows) or Terminal (Mac/Linux) in your computer and execute the following to fetch the Docker image.
docker pull oistncu/optinist-allinone

  1. Create and run the container by the following command.
docker run -it --shm-size=2G -v YOURSAVINGDIRECTORY:/app/studio_data --env OPTINIST_DIR="/app/studio_data" --name optinist_container -d -p 8000:8000 --restart=unless-stopped oistncu/optinist-allinone:latest poetry run python main.py --host 0.0.0.0 --port 8000
  • The -v option in docker run mounts a path from the host to a path in the container. Substitute YOURSAVINGDIRECTORY to your own path. For example, C:/tmp(in Windows) or /tmp (in Mac) will assign the temporary directory of the host. Make sure the folder you assign exists.

  • The container automatically starts optinist. When the initialization is finished, they show the logs in the Docker Desktop like this.

How to show logs in Doker Desktop To view the log, click on 'optnist_container' in the Containers section.

5. After you see the logs, open a web browser and go to http://localhost:8000.


  • If you see this, you have successfully launched the application.


  • You can stop and restart the optinist container by clicking on the 'Actions' button in Docker Desktop.





  1. In addition, please download sample files. The files are sample data and workflow.

trouble shooting


Issue: The Docker container seems to be working, but http://localhost:8000 does not show the front page of OptiNiSt.
Solution: Try using 127.0.0.1 instead of localhost.

other information

OptiNiSt

NWB

cell detection algorithms

  suite2p  websitegithub repositorypaper
  CaImAn  websitegithub repositorypaper
  lccd  gitub repositorypaper

About

Information for preparation of the hands-on tutorial for optinist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published