Comments (5)
Hi @jacobhurst
Thanks for reporting!
The biojs-sniper should be working fine. But the dependency was missing until recently from the non-developer dependencies. (see this commit: https://github.com/bbglab/muts-needle-plot/blob/4468fe7c5ef13c67a680e40e1e002441a94d8454/package.json).
About the legend: It's hard to tell what is goin wrong there. Could you access the chrome or firefox console and see if there is any error message?
Cheers
from muts-needle-plot.
Hi @mpschr
Thanks for making your code available! Looking in the console it can't see D3...
DIR:.
url /
url /build/muts-needle-plot.css
url /build/muts-needle-plot.js
url /src/js/dependencies/d3.js
url /snippets/data/muts.json
url /snippets/data/regions.json
seems to load the d3 here...
cheers
from muts-needle-plot.
Hi,
Here it tries to use the code in the file: src/js/d3-svg-legend.js
and for some reason it is not loaded. Is it missing from the dependencies? I mean, can you see in the HTML if it is being loaded?
A couple of other questions:
- Is there the same error for all the examples?
- Did you follow the npm-installation guide in the README?
I just followed the npm-installation guide and it seemed to work fine
from muts-needle-plot.
The npm install does not work for me, from my history file:-
2004 sudo npm install -g npm
2005 npm run sniper
2006 cd muts-needle-plot/
2007 npm run sniper
2008 sudo npm install -g sniper
2009 npm run sniper
It then fails on:-
[03-03-15 09:39:20 l: 1.47] $> npm run sniper
[email protected] sniper /home/jacobhurst/play/node_modules/muts-needle-plot
biojs-sniper .
sh: 1: biojs-sniper: not found
from muts-needle-plot.
Try installing with npm install biojs-sniper
Anyhow, I was able to install and run the plot with these three commands (I don't know what the -g option does)
npm install muts-needle-plot
cd node_modules/muts-needle-plot
npm run sniper
The biojs-sniper should be installed automatically. If not, try to install it afterwards with the command on the first line.
from muts-needle-plot.
Related Issues (11)
- biojs snippets HOT 4
- Regions in x axis are not displayed in plot when length = 1
- Is not possible to have multiple plots in the same page
- Need to clarify licence and/or add LICENCE file HOT 2
- Plotting mutations on upstream of genes
- Download Image Option
- Add / remove data
- event hooks HOT 1
- including in webpack build HOT 3
- throws error with multiple plots on a page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muts-needle-plot.