Coder Social home page Coder Social logo

ivazquez / minerva-author Goto Github PK

View Code? Open in Web Editor NEW

This project forked from labsyspharm/minerva-author

0.0 0.0 0.0 122.55 MB

Tool to create images and configuration files for Minerva-Story

License: MIT License

Shell 0.15% Python 95.31% HTML 1.64% GLSL 2.70% Batchfile 0.20%

minerva-author's Introduction

Minerva Repository Structure

Code style: black

Minerva Story

The GitHub Pages site build is stored at minerva-story. The source code for the minified bundle is stored at minerva-browser.

Minerva Author

The Python Flask server along with automated testing is stored at minerva-author. The React UI is stored at minerva-author-ui

Using Minerva Author

Installing

All commands should be run in "Terminal" on MacOS and "Anaconda Prompt" on Windows.

First, download this repository through the git command line:

git clone https://github.com/labsyspharm/minerva-author.git

Windows

MacOS

Run this command to link the homebrew install location of openslide:

sudo mkdir /usr/local/lib
sudo ln -s /opt/homebrew/lib/libopenslide.dylib /usr/local/lib/libopenslide.dylib

Then run the following commands to set up the development environment:

cd minerva-author
conda env create -f requirements.yml
conda activate minerva-author

Running

python src/app.py
  • Browser window should open automatically, if not then open a browser to localhost:2020

  • Browse or copy the file path to an OME-TIFF or SVS

  • Click import and wait for the generation of a full pyramid

At minimum, you'll need to type one 'Group' name into the top dropdown to create a group. For each group you create, you can select channels from the second dropdown and set up their rendering settings with the various sliders. After you hit 'save', look in the directory of the executable (or app.py) for a new folder which contains the generated Minerva Story, with configuration files and an image pyramid.

Automated test suite

The project contains automated tests using the pytest framework. To run the test suite, simply execute in the project folder:

pytest

Automated Releases

All pushes to master will update the current draft relase.

Packaging

MacOS

To package the application as a standalone executable, run script:

bash package_mac.sh

Windows (powershell)

Fetch OpenSlide binaries from https://openslide.org/download/#windows-binaries and save the .dll files to /src. Then run script:

package_win.bat

minerva-author's People

Contributors

thejohnhoffer avatar juha-ruokonen avatar jmuhlich avatar pagreene avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.