<commit_before>{% extends "base.html" %}
{% block head %}
<link rel="stylesheet" media="screen" href="{% static "css/handsontable.full.min.css"%}">
<link rel="stylesheet" media="screen" href="{% static "css/dataimport.css"%}">
<style>
    .uploader {
        text-align: center;
        margin: 80px 40px 280px;
    }
    .uploader .btn {
        padding: 19px 24px;
        font-size: 24px;
        font-weight: 200;
    }
    .uploader .fileInput {
        height: 0px;
        width: 0px;
        overflow:hidden;
    }
    .errors {
        display: none;
    }

    #hot {
        overflow: scroll;
    }

    .step-content {
        float: left;
    }

    .step-content .step-pane {
        display: none;
    }

    .step-content > .active {
        display: block;
    }

    .step-controls {
        margin-bottom: 20px;
    }

</style>
{% endblock %}
{% block content %}
<div class="row">
	<div class="span9">
		<h2><a href="{{collection.get_absolute_url}}">{{ collection.name }}</a> / Import metadata</h2>
        <div class="lead">Upload a .CSV file with image metadata. This file should contain a) column with filenames of images in this collection; b) column with subject ids; c) column with image types.</div>

	</div>
	<div class="span11"><hr/></div>
</div>

<div class="step-content">
    <div class="step-pane step1 active"><commit_msg>corrected the instructions for csv file import<commit_after>{% extends "base.html" %}
{% block head %}
<link rel="stylesheet" media="screen" href="{% static "css/handsontable.full.min.css"%}">
<link rel="stylesheet" media="screen" href="{% static "css/dataimport.css"%}">
<style>
    .uploader {
        text-align: center;
        margin: 80px 40px 280px;
    }
    .uploader .btn {
        padding: 19px 24px;
        font-size: 24px;
        font-weight: 200;
    }
    .uploader .fileInput {
        height: 0px;
        width: 0px;
        overflow:hidden;
    }
    .errors {
        display: none;
    }

    #hot {
        overflow: scroll;
    }

    .step-content {
        float: left;
    }

    .step-content .step-pane {
        display: none;
    }

    .step-content > .active {
        display: block;
    }

    .step-controls {
        margin-bottom: 20px;
    }

</style>
{% endblock %}
{% block content %}
<div class="row">
	<div class="span9">
		<h2><a href="{{collection.get_absolute_url}}">{{ collection.name }}</a> / Import metadata</h2>
        <div class="lead">Upload a .CSV file with information about each image. This file should contain a header and row for each image. The file must contain: (a) a column with unique filenames for each image in the collection, and (b) a column specifying each type of image (e.g., group, trial, subject). If there are multiple trials per subject, we recommend including a column with indicating the deidentified subject ID.</div>
	</div>
	<div class="span11"><hr/></div>
</div>

<div class="step-content">
    <div class="step-pane step1 active">
{'fraction_non_alphanumeric': 0.1486349848331648, 'fraction_numerical': 0.01752612066059993, 'mean_word_length': 2.5459976105137394, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, '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': '1115159', 'n_tokens_mistral': 1020, 'n_tokens_neox': 941, 'n_words': 274}