Skip to content

resurfemg-org/ReSurfEMG-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReSurfEMG-dashboard

Dashboard to use the ReSurfEMG library

DOI

Getting started

  1. This dashboard requires that you have an environment with certain dependencies including dash. We recommend that you do the following:

    • For Windows users:

      python -m venv .venv_dashboard
      .venv_dashboard\Scripts\activate
      pip install PATH_TO_DASHBOARD
    • For Linux/OSx users:

      python3 -m venv .venv_dashboard
      source .venv_dashboard/bin/activate
      python3 -m pip install PATH_TO_DASHBOARD
  2. Once you have entered an environment with the necessary packages, run the resurfemg_dashboard module with Python and a url for the dashboard should appear in your terminal (open the url).

    python -m resurfemg_dashboard

    (For Linux/OSx use: python3)

Building executable file

! WARNING The executable is work-in-progress, and might not work as expected ! To ease the distribution and the use of the ReSurfEMG Dashboard, it is possible to build an executable file, through the following steps:

  • Activate the virtual environment
  • Install the PyInstaller by running
    pip install pyinstaller
  • Run
    pyinstaller resurfemg_dashboard/main.spec

If the process is successful, the resurfemg_dashboard.exe file can be found in the /dist/main folder. By launching the executable file, the dashboard will be prompted.

N.B. The dist folder containing the executable file should be created and uploaded when a new release of the dashboard is created.

Testing

Linting tests are included in this project. Build the environment in the pyproject.toml and enter it. You should then be able to use the python setup.py lint command. With care in the proper situation you may also use the --fast option.

About

Dashboard to use the ReSurfEMG library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages