<commit_before>{% extends "base.html" %}
{% load coffeescript %}
{% block head %}
    :javascript
        var images = [
        {% for image in collection.image_set.all %}
        {
            'name': '{{ image.name }}',
            'url': '{{ image.json_path }}',
            'json': true,
            'colorPalette': 'red'
        },
        {% endfor %}]

    {% include 'statmaps/_viewer_head.html.haml' %}

    :javascript
        {% inlinecoffeescript %}
            $(document).ready ->
                $('#show-viewer').click( () =>
                    window.viewer.paint()<commit_msg>Collection images load with different colors<commit_after>{% extends "base.html" %}
{% load coffeescript %}
{% block head %}
    :javascript
        var images = [
        {% for image in collection.image_set.all %}
        {
            'name': '{{ image.name }}',
            'url': '{{ image.json_path }}',
            'json': true,
            'colorPalette': "{% cycle 'red' 'blue' 'green' 'yellow' 'purple' 'aqua' 'lime' 'navy' %}"
        },
        {% endfor %}]

    {% include 'statmaps/_viewer_head.html.haml' %}

    :javascript
        {% inlinecoffeescript %}
            $(document).ready ->
                $('#show-viewer').click( () =>
                    window.viewer.paint()
{'fraction_non_alphanumeric': 0.17505809450038728, 'fraction_numerical': 0.0, 'mean_word_length': 1.7725321888412018, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '420181', 'n_tokens_mistral': 407, 'n_tokens_neox': 377, 'n_words': 72}