Skip to content

jylb/sds-viewer

 
 

Repository files navigation

SDS Viewer Running Instructions

  1. Install node.js https://nodejs.org/en/

  2. Open a terminal.

    • Mac
      • On your Mac, do one of the following:
        • Click the Launchpad icon in the Dock , type Terminal in the search field, then click Terminal.
        • In the Finder , open the /Applications/Utilities folder, then double-click Terminal.
    • Windows
      • Follow steps in this link to open a terminal as administrator in your Windows machine.
    • Linux
      • Open a terminal
  3. Install yarn:

    • Mac
      • In the OS X terminal you need to type: sudo npm install --global yarn
        • NOTE: You'll be ask to enter your local system password.
      • If previous step fails, you can also install it with brew.
        brew install yarn
    • Windows
      • In a Windows terminal, type command: npm install --global yarn
  4. Install git

    • Mac
      • In a terminal, install git by typing : brew install git or sudo yarn add git
    • Windows
    • Linux
      • Install it with sudo apt-get install git
  5. In terminal, type command git clone -b feature/demo https://github.com/MetaCell/sds-viewer.git

    • Output should be something like this. image
  6. Then navigate to the sds-viewer folder with command cd sds-viewer

  7. Then type sudo yarn install --ignore-engines

  8. Finally, to run application type sudo yarn start

  9. Last step should have opened a new browser tab with 'http://localhost:3000/', it will take a 1 minute before it finishes loading the first time. This should be the browser output. image

SDS Viewer User Manual

Users can load datasets in a few different ways.

  1. Loading a SPARC Dataset:
  • Click on 'SPARC Datasets' button, it's located on the lower left corner.
  • On the window that opens up, select the dataset you want to load. image
  • After selection, click 'Done'
  • Dataset will be loaded.
  • Datasets list comes from https://cassava.ucsd.edu/sparc/datasets/
  1. Loading an external dataset with a URL :
  1. Loading an local dataset:
  • Click on 'Import a new dataset'
  • On the window that opens up, stay on 'Local System'.
  • Add turtle and json file at the same time. image
  • Click 'Done'
  • Dataset will be loaded
  1. Loading a dataset specifying ID as parameter

Datasets Used

The datasets we have been testing can be found here https://cassava.ucsd.edu/sparc/preview/archive/exports/2021-06-21T103507%2C091927-0700/

Error Handling

  • In the case of encountering an error, take a screenshot and report it with us please by opening an issue
  • To go back , click on the 'x' to go back to the previous screen.

About

SDS Viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.1%
  • CSS 5.8%
  • Other 1.1%