Giter Club home page Giter Club logo

wtfgo's People

Contributors

cmungall avatar ihh avatar

Watchers

 avatar  avatar  avatar

Forkers

cmungall

wtfgo's Issues

User should be allowed to progress even if some genes not recognized

Unrecognized genes may simply mean the genes are valid but unannotated. The user should be warned, but able to progress regardless

my jquery skillz are not up to it, is this the right place to hack?

wtfgo/web/client.js

Lines 420 to 440 in 70372cb

function getGeneSet (wtf) {
var def = $.Deferred()
if (!wtf.assocs)
def.reject ('select an organism and ontology.')
else {
var geneNames = $('#wtf-gene-set-textarea').val().split(/\s*\n\s*/)
.filter (function (sym) { return sym.length > 0 })
var valid = wtf.assocs.validateGeneNames (geneNames)
if (valid.geneNames.length == 0)
def.reject ('enter some gene symbols.')
else if (valid.missingGeneNames.length > 0) {
var detail = 'The following gene symbols were not found in the gene-term associations database:<br/>'
+ '<i>' + valid.missingGeneNames.join(", ") + '</i>'
def.reject ('check the entered gene symbols for validity. <p/>' + detail, detail)
} else {
wtf.userGeneName = valid.suppliedGeneName
def.resolve (valid)
}
}
return def
}

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.