Skip to content

jclauneurolab/stereotactic-target-pred

Repository files navigation

Frontend program predicting stereotactic targets from inputed anatomical fiducials for brain imaging applications

This application is currently in development

To run the development environment:

  1. Git clone the stareotactic_target_pred repository https://github.com/mackenziesnyder/stereotactic-target-pred.git
  2. Set up python backend via poetry shell
  3. Install the required libraries via poetry install
  4. Change directory to stereotactic_target_pred/backend
  5. In stereotactic-target-pred/stereotactic_target_pred/backend/utils.py comment line 33 and uncomment line 32
  6. Run the backend with python3 -m flask --app connector.py run --debug
  7. Set up the frontend with cd stereotactic_target_pred/frontend
  8. In stereotactic-target-pred/stereotactic_target_pred/frontend/src/env.jsx comment line 9 and uncomment line 3
  9. Use the latest version of node with nvm use --lts
  10. Install the required libraries via npm install
  11. Build the frontend with npm run build
  12. Run the frontend with npm run dev

Note: Before pushing code to the main branch, be sure to change back the lines commented for development in stereotactic-target-pred/stereotactic_target_pred/backend/utils.py and in stereotactic-target-pred/stereotactic_target_pred/frontend/src/env.jsx from the instructions above

To run in build environment locally

  1. To build the frontend run npm run build.
  2. poetry run gunicorn -w 4 -b 127.0.0.1:5001 connector:app

About

Frontend program predicting stereotactic targets from inputed anatomical fiducials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •