-
Notifications
You must be signed in to change notification settings - Fork 8
Warnings Glossary
Kam Dahlquist edited this page May 21, 2018
·
4 revisions
Warnings in Test Files
Warning List in Code
Note: All warnings and errors thrown in GRNsight should follow a three-part framework:
- Explain what the problem is.
- Explain why the problem exists.
- How the user can approach solving the problem.
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."
}
}