Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Commit

Permalink
updated galaxy mako
Browse files Browse the repository at this point in the history
Former-commit-id: 4dcd30eb3bc71c06aa51d67a142bfa4158c04b40 [formerly 7615763]
Former-commit-id: 7e62b2ad9453ff2d95726ef3472e7e386ad6b303
  • Loading branch information
wilzbach committed Jul 6, 2015
1 parent 7b62ad9 commit 72f8c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions galaxy.mako
@@ -1,18 +1,15 @@
var xhr = require("xhr");
var msa = require("msa");

xhr(jsonURL, function(err, response,text){
var data = JSON.parse(text).data;

if(dataType == "galaxy.datatypes.sequence.Fasta"){
galaxy.getData(function(data, req){

if(galaxy.dataType == "galaxy.datatypes.sequence.Fasta"){
var seqs = require("biojs-io-fasta").parse(data);
}else{
// it could be clustal
var seqs = require("biojs-io-clustal").parse(data);
}

var m = new msa({
el: galaxyDiv,
el: galaxy.el,
seqs: seqs,
zoomer: {
labelWidth: 200
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "msa",
"description": "Display multiple sequences",
"version": "0.4.2",
"version": "0.4.5",
"homepage": "http://github.com/greenify/msa",
"repository": {
"type": "git",
Expand Down

0 comments on commit 72f8c62

Please sign in to comment.