Skip to content

Warnings Glossary

Eileen Choe edited this page May 30, 2017 · 4 revisions

Table of Contents

Warnings in Test Files
Warning List in Code

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