Skip to content

Warnings Glossary

anuvarsh edited this page Jun 2, 2015 · 4 revisions

##Warnings in Test Files

##Warning List in Code missingSourceGeneWarning: function (type, column) { return { warningCode: "MISSING_SOURCE", errorDescription: "A source gene was detected as " + type + " in column " + column + "."
} },

missingTargetGeneWarning: function (type, row) {
    return {
        warningCode: "MISSING_TARGET",
        errorDescription: "A target gene was detected as " + type + " in row " + row + "."
    }
},

invalidMatrixDataWarning: function (row, column) {
    return {
        warningCode: "INVALID_DATA",
        errorDescription: "The value in row " + row + ", column " + column + ", was detected as being undefined."
    }
},

randomDataWarning: function (type, row, column) {
    return {
        warning: "RANDOM_DATA",
        errorDescription: "The value in row " + row + ", column " + column + ", has a corresponding source and/or target gene that is detected as " + type + "." 
    }
},

emptyRowWarning: function (row) {
    return {
        warningCode: "EMPTY_ROW",
        errorDescription: "Row " + row + " was found to contain no data."
    }
},


networkSizeWarning: function (genesList) {
    return {
        warningCode: "INVALID_NETWORK_SIZE",
        errorDescription: "Networks are recommended to have less than 50 genes and 100 edges."
    }
}
Clone this wiki locally