<commit_before>var im = require('simple-imagemagick');
var thunkify = require('thunkify');
var montageThunk = thunkify(im.montage);

function * sprititize(data, opts) {
    var imgs = [];
    var len = imgs.length;
    for (var i = 0; i < len; i++) {
        imgs.push(data.src);
    }
    imgs.push('-tile', '1x' + len);
    imgs.push('-geometry');
    imgs.push('+0+0');
    imgs.push(opts.output)
    console.log(imgs);
    yield montageThunk(imgs);
}

module.exports = sprititize;


<commit_msg>Fixed<commit_after>var im = require('simple-imagemagick');
var thunkify = require('thunkify');
var montageThunk = thunkify(im.montage);

function * sprititize(data, opts) {
    var imgs = [];
    var len = data.length;
    for (var i = 0; i < len; i++) {
        imgs.push(data.src);
    }
    imgs.push('-tile', '1x' + len);
    imgs.push('-geometry');
    imgs.push('+0+0');
    imgs.push(opts.output)
    console.log(imgs);
    yield montageThunk(imgs);
}

module.exports = sprititize;



{'fraction_non_alphanumeric': 0.1797979797979798, 'fraction_numerical': 0.00808080808080808, 'mean_word_length': 3.217021276595745, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3118617', 'n_tokens_mistral': 388, 'n_tokens_neox': 386, 'n_words': 72}