Skip to content

Generates sample annotation .csv files to be passed to the colData argument in the readSCP() function from the scp R package.

Notifications You must be signed in to change notification settings

CBFLivUni/SCPSampleAnnotationWizard

Repository files navigation

SCP Sample Annotation Wizard

User Information

  • Generates sample annotation .csv files to be passed to the colData argument in the readSCP() function from the scp R package

  • Download Mac and Windows releases here

  • Download Read Me here

    • MacOS users: Ensure that the application is moved to Applications folder, otherwise the loaded files won't be able to be accessed.

Developer Information

  • Written using Electron JS + React, pricessing script in Python.

Processing script

  • Create virtual env using your preferred method using requirements.txt.

pip install pyinstaller

For Windows: pyinstaller -F processingpy/processing.py mv processingpy/processing.exe processing

For Mac: pyinstaller processingpy/processing.py

This project was bootstrapped with Create React App.

ElectronJS + React Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser. Note: may run incorrectly in browser due to Node JS requirements, check Electron window for correct output.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run make

Makes executable for Windows and MacOS.

For Mac

  • For Mac production build, following npm run make, unzip output file, then contents of dist/processing generated from pyinstaller needs to be copied to scpannotation.app/Contents/Resources/processing/.
  • Permissions of processing must also be set so is executable by user. Otherwise, file isn't executable within app.asar.
  • scpannotation.app can be renamed 'SCPSampleAnnotationWizard' (spaces in title aren't recommended), favicon added, then zipped together with /processing/README.xlsx for distribution.

For Windows

  • Check file paths of inno/scpannotator.iss.
  • inno/scpannotator.iss can then be used with Inno Setup to create a Windows installer.

About

Generates sample annotation .csv files to be passed to the colData argument in the readSCP() function from the scp R package.

Resources

Stars

Watchers

Forks

Packages

No packages published