<commit_before>/* eslint-disable max-len */

var test = require("./test");

describe("expression-data-import-tests", function () {

    // I don't understand the issue associated with this test
    describe("MISSING_EXPRESSION_SHEET", function () {
        it("_log2_expression or _log2_optimized_expression worksheet was not detected. The network graph will display without node coloring.", function () {
            test.missingExpressionWarning("test-files/expression-data-test-sheets/expression_sheet_not_existing.xlsx", 1);
        });
    });

    describe("MISLABELED_ID_CELL", function () {
        it("Top left cell must contain \'id\' exactly.", function () {
            test.idLabelError("test-files/expression-data-test-sheets/expression_sheet_wrong_id_label.xlsx", 1);
        });
    });

    describe("GENE_MISMATCH", function () {
        xit("Gene names in column A do not match the order of those in network sheet.", function () {
            test.geneMistmatchError("test-files/expression-data-test-sheets/expression_sheet_wrong_order_gene_names.xlsx", 1);
        });
    });

    describe("wrong_case_gene_names", function () {
        it.skip("Gene names in column A do not match the case of those in network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_mismatched_case_gene_names.xlsx", 1);
        });
    });

    describe("missing_a_gene_name", function () {
        it.skip("Gene names in column A are missing a gene name listed in the network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_missing_gene_name.xlsx", 1);
        });
    });

    describe("extra_gene_name", function () {
        it.skip("Gene names in column A have an extra gene name than those listed in the network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_extra_gene_name.xlsx", 1);
        });
    });

    describe("MISSING_COLUMN_HEADER", function () {
        xit("All columns in expression sheet must have a header or label.", function () {
            test.missingColumnHeaderError("test-files/expression-data-test-sheets/expression_sheet_missing_column_header.xlsx", 1);
        });
    });

    describe("empty_column", function () {
        it("Column in expression sheet contains no data.", function () {
            test.emptyExpressionColumnError("test-files/expression-data-test-sheets/expression_sheet_empty_column.xlsx", 1);
        });
    });

    describe("EMPTY_giROW", function () {
        xit("Row in expression sheet contains no data.", function () {
            test.emptyExpressionRowError("test-files/expression-data-test-sheets/expression_sheet_empty_row.xlsx", 1);
        });
    });

    describe("EXTRANEOUS_DATA", function () {
        it("There is erroneous data in the expression sheet.", function () {<commit_msg>fixed typo<commit_after>/* eslint-disable max-len */

var test = require("./test");

describe("expression-data-import-tests", function () {

    // I don't understand the issue associated with this test
    describe("MISSING_EXPRESSION_SHEET", function () {
        it("_log2_expression or _log2_optimized_expression worksheet was not detected. The network graph will display without node coloring.", function () {
            test.missingExpressionWarning("test-files/expression-data-test-sheets/expression_sheet_not_existing.xlsx", 1);
        });
    });

    describe("MISLABELED_ID_CELL", function () {
        it("Top left cell must contain \'id\' exactly.", function () {
            test.idLabelError("test-files/expression-data-test-sheets/expression_sheet_wrong_id_label.xlsx", 1);
        });
    });

    describe("GENE_MISMATCH", function () {
        xit("Gene names in column A do not match the order of those in network sheet.", function () {
            test.geneMistmatchError("test-files/expression-data-test-sheets/expression_sheet_wrong_order_gene_names.xlsx", 1);
        });
    });

    describe("wrong_case_gene_names", function () {
        it.skip("Gene names in column A do not match the case of those in network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_mismatched_case_gene_names.xlsx", 1);
        });
    });

    describe("missing_a_gene_name", function () {
        it.skip("Gene names in column A are missing a gene name listed in the network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_missing_gene_name.xlsx", 1);
        });
    });

    describe("extra_gene_name", function () {
        it.skip("Gene names in column A have an extra gene name than those listed in the network sheet.", function () {
            test.labelError("test-files/expression-data-test-sheets/expression_sheet_extra_gene_name.xlsx", 1);
        });
    });

    describe("MISSING_COLUMN_HEADER", function () {
        xit("All columns in expression sheet must have a header or label.", function () {
            test.missingColumnHeaderError("test-files/expression-data-test-sheets/expression_sheet_missing_column_header.xlsx", 1);
        });
    });

    describe("empty_column", function () {
        it("Column in expression sheet contains no data.", function () {
            test.emptyExpressionColumnError("test-files/expression-data-test-sheets/expression_sheet_empty_column.xlsx", 1);
        });
    });

    describe("EMPTY_ROW", function () {
        xit("Row in expression sheet contains no data.", function () {
            test.emptyExpressionRowError("test-files/expression-data-test-sheets/expression_sheet_empty_row.xlsx", 1);
        });
    });

    describe("EXTRANEOUS_DATA", function () {
        it("There is erroneous data in the expression sheet.", function () {
{'fraction_non_alphanumeric': 0.12544741776035453, 'fraction_numerical': 0.003749786943923641, 'mean_word_length': 3.2155172413793105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4639555', 'n_tokens_mistral': 1708, 'n_tokens_neox': 1619, 'n_words': 365}