<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>MAGMa - Homepage</title>
<link rel="stylesheet" href="${request.extjsroot}/resources/css/ext-all.css" type="text/css"></link>
<link rel="stylesheet" href="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb.css')}" type="text/css"></link>
<link rel="stylesheet" href="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/jquery-ui-1.8.7.custom.css')}" type="text/css"></link>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb-libs.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/jquery-ui-1.8.7.custom.min.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/ChemDoodleWeb-sketcher.js')}"></script>
<script type="text/javascript" src="${request.extjsroot}/ext-all.js"></script>
<script type="text/javascript">

Ext.Loader.setConfig({
  enabled: true,
//  disableCaching: false, // uncomment to use firebug breakpoints
  paths: {
    'Esc': '${request.static_url('magmaweb:static/esc')}',
    'Ext.ux': '${request.extjsroot}/examples/ux'
  }
});

Ext.require([
  'Ext.form.Panel',
  'Ext.layout.container.Column',
  'Ext.form.FieldSet',
  'Ext.form.RadioGroup',
  'Ext.form.field.File',
  'Ext.form.field.Number',
  'Ext.form.field.Radio'
]);

Ext.onReady(function() {
  Ext.QuickTips.init();

  var form = Ext.create('Ext.form.Panel', {
    frame: true,
    width: 800,
    title: 'MAGMa submit form',
    bodyPadding: 5,
    renderTo: Ext.getBody(),
    defaults: { bodyPadding: 5 },
    items:[{
       xtype: 'fieldset',
       title: "Structures",
       items:[{
           xtype: 'tabpanel',
           activeTab: 0,
           defaults: { bodyPadding: 5 },
           plain: true,
           items: [{
               title: 'Upload',
               items:[{
                   xtype: 'combo',
                   id: 'structure_format',
                   store: ['smiles', 'sdf' ],
                   allowBlank: false,
                   value: 'smiles',
               }, {
                   xtype: 'textarea',
                   name: 'structures',
                   id: 'structures_area',
                   emptyText: 'Enter smile string followed by space and name on each line',
                   height: 200,
                   width: 500,
               }, {
                   xtype: 'displayfield',
                   value: 'or'
               }, {
                   xtype: 'filefield',
                   name: 'structures_file',
                   id: 'structures_filefield',
                   emptyText: 'Upload structures in file',
                   width: 300
               }]
           }, {
               title: 'Draw',
               items: [{
                   id: 'sketcher', // during form submit fetch molblock from sketcher
                   contentEl: 'sketcher_content',
                   width: 500,
                   height: 300
               }]
           }]
       }],
    }, {<commit_msg>Structure format not passed in post<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>MAGMa - Homepage</title>
<link rel="stylesheet" href="${request.extjsroot}/resources/css/ext-all.css" type="text/css"></link>
<link rel="stylesheet" href="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb.css')}" type="text/css"></link>
<link rel="stylesheet" href="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/jquery-ui-1.8.7.custom.css')}" type="text/css"></link>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb-libs.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/ChemDoodleWeb.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/jquery-ui-1.8.7.custom.min.js')}"></script>
<script type="text/javascript" src="${request.static_url('magmaweb:static/ChemDoodleWeb/sketcher/ChemDoodleWeb-sketcher.js')}"></script>
<script type="text/javascript" src="${request.extjsroot}/ext-all.js"></script>
<script type="text/javascript">

Ext.Loader.setConfig({
  enabled: true,
//  disableCaching: false, // uncomment to use firebug breakpoints
  paths: {
    'Esc': '${request.static_url('magmaweb:static/esc')}',
    'Ext.ux': '${request.extjsroot}/examples/ux'
  }
});

Ext.require([
  'Ext.form.Panel',
  'Ext.layout.container.Column',
  'Ext.form.FieldSet',
  'Ext.form.RadioGroup',
  'Ext.form.field.File',
  'Ext.form.field.Number',
  'Ext.form.field.Radio'
]);

Ext.onReady(function() {
  Ext.QuickTips.init();

  var form = Ext.create('Ext.form.Panel', {
    frame: true,
    width: 800,
    title: 'MAGMa submit form',
    bodyPadding: 5,
    renderTo: Ext.getBody(),
    defaults: { bodyPadding: 5 },
    items:[{
       xtype: 'fieldset',
       title: "Structures",
       items:[{
           xtype: 'tabpanel',
           activeTab: 0,
           defaults: { bodyPadding: 5 },
           plain: true,
           items: [{
               title: 'Upload',
               items:[{
                   xtype: 'combo',
                   name: 'structure_format',
                   store: ['smiles', 'sdf' ],
                   allowBlank: false,
                   value: 'smiles',
               }, {
                   xtype: 'textarea',
                   name: 'structures',
                   id: 'structures_area',
                   emptyText: 'Enter smile string followed by space and name on each line',
                   height: 200,
                   width: 500,
               }, {
                   xtype: 'displayfield',
                   value: 'or'
               }, {
                   xtype: 'filefield',
                   name: 'structures_file',
                   id: 'structures_filefield',
                   emptyText: 'Upload structures in file',
                   width: 300
               }]
           }, {
               title: 'Draw',
               items: [{
                   id: 'sketcher', // during form submit fetch molblock from sketcher
                   contentEl: 'sketcher_content',
                   width: 500,
                   height: 300
               }]
           }]
       }],
    }, {
{'fraction_non_alphanumeric': 0.16172106824925817, 'fraction_numerical': 0.011572700296735905, 'mean_word_length': 2.1529466791393825, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '213049', 'n_tokens_mistral': 2212, 'n_tokens_neox': 2049, 'n_words': 351}