<commit_before>var electron = require('electron');
var execSync = require('child_process').execSync;
var path = require('path');
var os = require('os');

var oto_util = {
    /**
     * Converts value in cm to value in inches
     */
    cmToInch: function(cm) {
        // 1 inch = 2.54 cm
        return cm * 2.54;
    },
    /**
     * Get the display that the window is mostly over
     */
    getBrowserWindowDisplay: function () {
        // Don't require remote unless we hit here as it can't be required in the
        // main process. 
        return electron.screen.getDisplayMatching(electron.remote.getCurrentWindow().getBounds());
    },

    /**
     * Split display information string into components
     */
    splitDisplayInformation: function(infoString) {
        console.log(infoString);
        var splitInfo = infoString.split(',');
        return {
            pixel: {
                width: parseFloat(splitInfo[0]),
                height: parseFloat(splitInfo[1]),
            },
            physical: {
                width: parseFloat(splitInfo[2]),
                height: parseFloat(splitInfo[3]),
            },
            ppcm: {
                horizontal: parseFloat(splitInfo[4] * 10),
                vertical: parseFloat(splitInfo[5] * 10),
            }
        };
    }
};
<commit_msg>Removed a useless console log left over from debugging.<commit_after>var electron = require('electron');
var execSync = require('child_process').execSync;
var path = require('path');
var os = require('os');

var oto_util = {
    /**
     * Converts value in cm to value in inches
     */
    cmToInch: function(cm) {
        // 1 inch = 2.54 cm
        return cm * 2.54;
    },
    /**
     * Get the display that the window is mostly over
     */
    getBrowserWindowDisplay: function () {
        // Don't require remote unless we hit here as it can't be required in the
        // main process. 
        return electron.screen.getDisplayMatching(electron.remote.getCurrentWindow().getBounds());
    },

    /**
     * Split display information string into components
     */
    splitDisplayInformation: function(infoString) {
        var splitInfo = infoString.split(',');
        return {
            pixel: {
                width: parseFloat(splitInfo[0]),
                height: parseFloat(splitInfo[1]),
            },
            physical: {
                width: parseFloat(splitInfo[2]),
                height: parseFloat(splitInfo[3]),
            },
            ppcm: {
                horizontal: parseFloat(splitInfo[4] * 10),
                vertical: parseFloat(splitInfo[5] * 10),
            }
        };
    }
};

{'fraction_non_alphanumeric': 0.11669793621013133, 'fraction_numerical': 0.01275797373358349, 'mean_word_length': 1.8915401301518437, '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': '5284743', 'n_tokens_mistral': 744, 'n_tokens_neox': 700, 'n_words': 187}