Coder Social home page Coder Social logo

benkamphaus / mantis-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from candelbio/mantis-viewer

0.0 0.0 0.0 205.91 MB

VL's mirror of Mantis, an Electron-based multiplexed imaging viewer

License: Apache License 2.0

Shell 0.01% JavaScript 97.34% TypeScript 2.61% CSS 0.02% HTML 0.01% GLSL 0.01%

mantis-viewer's Introduction

Mantis Viewer

Mantis Viewer is an application developed by the Parker Institute for Cancer Immunotherapy for viewing and analyzing multi-channel pathology imaging, such as IHC, Vectra, MIBI, IMC, CODEX, or other technologies. It has been designed to be highly performant and responsive when analyzing both large and small images and to support workflows with segmentation data.

Using Mantis Viewer

If you want a walkthrough for using Mantis Viewer, you can check out the documentation!

Downloading

If you just want to use the application head to the releases page! Otherwise continue reading if you want to build the project yourself or to contribute to this project.

Develop and Run Locally

To get up and running for the first time first clone the repository and install the dependencies. You may need to install the build dependencies for canvas first.

npm install

Once NPM has installed all of the dependencies, you can start the application.

npm start

Webpack will automatically rebuild the application and restart Electron if you are actively developing.

Running tests

Running tests is a little funky. It isn't possible to install a version of Node locally that has the same API version as the version of Node that's bundled with Electron. Since this project makes use of native modules, which have to be compiled targeting a specific Node API version, we have to reinstall or recompile the native modules before running tests so they can run using the local Node version, and after running tests so that the modules can be used with Electron's Node version. There's probably a better way to do this, but for now these are the three commands that you need to run tests locally.

npm rebuild
npm run test
npm run postinstall

Generating executables

To generate executables on all systems, you will first need to make sure all dependencies are installed

npm install

Once this is done, you can build and package the application for distribution

Linux:

npm run dist-linux

Mac:

npm run dist-mac

Windows:

npm run dist-win

When this completes, you should have executables built in the dist directory.

Creating a New Release

New releases are automatically built on CircleCI and then published to GitHub as drafts. npm-version is used to bump the version.

For a prerelease version run the following command.

npm version prerelease --preid=rc

Preminor, minor, and major releases do not need any additional arguments for npm-version.

Technologies

Mantis Viewer is build using Electron, Typescript, React, MobX, and PIXI.js.

Cite Us

Please cite Mantis Viewer using the following citation:

Robert Schiemann, Lacey Kitch, Pier Federico Gherardini, Robin Kageyama, & Mike Travers. Mantis Viewer. Zenodo. http://doi.org/10.5281/zenodo.4009579

You may also cite the specific version of Mantis that you used instead if you wish. You can get citations for specific versions on the Mantis Viewer Zenodo Page

License

Mantis Viewer is distributed under Apache 2 license. See the LICENSE file for details.

mantis-viewer's People

Contributors

dependabot[bot] avatar glassonion avatar goodboydigital avatar laceyjane avatar pfgherardini avatar rj3d 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.