Code Monkey home page Code Monkey logo

niivue-desktop's Introduction

NiiVue

NiiVue is web-based visualization tool for neuroimaging that can run on any operating system and any web device (phone, tablet, computer). This repository contains only the core NiiVue package that can be embedded into other projects. We have additional repositories that wrap NiiVue for use in jupyter notebooks, vscode, and electron applications.

Click here to see NiiVue live demos

What makes NiiVue unique is its ability to simultaneously display all the datatypes popular with neuroimaging: voxels, meshes, tractography streamlines, statistical maps and connectomes. Alternative voxel-based web tools include ami, BioImage Suite Web, BrainBrowser, nifti-drop, OHIF DICOM Viewer, Papaya, VTK.js, and slicedrop.

Local Development

To run a hot-loading development that is updated whenever you save changes to any source files, you can run:

git clone [email protected]:niivue/niivue.git
cd niivue
npm install
npm run dev

The command npm run demo will minify the project and locally host all of the live demos. The DEVELOP.md file provides more details for developers.

Developer Documentation

Click here for the docs web page

Projects and People using NiiVue

Funding

Supported Formats

NiiVue supports many popular brain imaging formats:

niivue-desktop's People

Contributors

hanayik avatar neurolabusc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

niivue-desktop's Issues

Permissions issue when running git clone.

Describe the bug
When git cloning the repository, 2 permissions issues come up.
When the repository is cloned (ie when running git clone --recurse-submodules [email protected]:niivue/niivue-desktop.git), the following logs are printed:

Cloning into 'niivue-desktop'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

If, instead, a modified version of the command is used to git clone (ie git clone --recurse-submodules https://github.com/niivue/niivue-desktop.git, the 2nd issue of cloning the submodule shows up with the following log:

Cloning into 'niivue-desktop'...
remote: Enumerating objects: 87, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 87 (delta 36), reused 73 (delta 23), pack-reused 0
Receiving objects: 100% (87/87), 5.93 MiB | 12.60 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Submodule 'src/UI/src/niivue' ([email protected]:niivue/niivue.git) registered for path 'src/UI/src/niivue'
Cloning into './niivue-desktop/src/UI/src/niivue'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:niivue/niivue.git' into submodule path './niivue-desktop/src/UI/src/niivue' failed
Failed to clone 'src/UI/src/niivue'. Retry scheduled
Cloning into './niivue-desktop/src/UI/src/niivue'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:niivue/niivue.git' into submodule path './niivue-desktop/src/UI/src/niivue' failed
Failed to clone 'src/UI/src/niivue' a second time, aborting

To Reproduce

  1. Run git clone --recurse-submodules [email protected]:niivue/niivue-desktop.git to see the 1st permissions error
  2. Run git clone --recurse-submodules https://github.com/niivue/niivue-desktop.git to see the 2nd permissions error

Expected behavior
niivue-desktop should be git cloned successfully without permission errors.

An example installation log should look like:

Cloning into 'niivue-desktop'...
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (93/93), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 93 (delta 39), reused 71 (delta 23), pack-reused 0
Receiving objects: 100% (93/93), 5.93 MiB | 10.14 MiB/s, done.
Resolving deltas: 100% (39/39), done.
Submodule 'src/UI/src/niivue' (https://github.com/niivue/niivue.git) registered for path 'src/UI/src/niivue'
Cloning into './niivue-desktop/src/UI/src/niivue'...
remote: Enumerating objects: 10646, done.        
remote: Counting objects: 100% (1750/1750), done.        
remote: Compressing objects: 100% (553/553), done.        
remote: Total 10646 (delta 1274), reused 1597 (delta 1194), pack-reused 8896        
Receiving objects: 100% (10646/10646), 212.80 MiB | 13.02 MiB/s, done.
Resolving deltas: 100% (7736/7736), done.
Submodule path 'src/UI/src/niivue': checked out '21e10d700d60ea794d199b58f411d09cd85aebba'

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.