<commit_before>import {Form} from 'widget/form/form'
import {Layout} from 'widget/layout'
import {Panel} from 'widget/panel/panel'
import {RecipeFormPanel, recipeFormPanel} from 'app/home/body/process/recipeFormPanel'
import {Subject} from 'rxjs'
import {compose} from 'compose'
import {msg} from 'translate'
import {takeUntil} from 'rxjs/operators'
import React from 'react'
import _ from 'lodash'
import api from '../../../../../../../../api'
import styles from './source.module.css'

const fields = {
    asset: new Form.Field()
        .notEmpty('process.ccdcSlice.panel.source.form.asset.required'),
    bands: new Form.Field()
        .notEmpty('process.ccdcSlice.panel.source.form.bands.required'),
    dateFormat: new Form.Field(),
    startDate: new Form.Field(),
    endDate: new Form.Field(),<commit_msg>Used notBlank() instead isEmpty() for validation of CCDC slice source.<commit_after>import {Form} from 'widget/form/form'
import {Layout} from 'widget/layout'
import {Panel} from 'widget/panel/panel'
import {RecipeFormPanel, recipeFormPanel} from 'app/home/body/process/recipeFormPanel'
import {Subject} from 'rxjs'
import {compose} from 'compose'
import {msg} from 'translate'
import {takeUntil} from 'rxjs/operators'
import React from 'react'
import _ from 'lodash'
import api from 'api'
import styles from './source.module.css'

const fields = {
    asset: new Form.Field()
        .notBlank('process.ccdcSlice.panel.source.form.asset.required'),
    bands: new Form.Field()
        .notEmpty('process.ccdcSlice.panel.source.form.bands.required'),
    dateFormat: new Form.Field(),
    startDate: new Form.Field(),
    endDate: new Form.Field(),
{'fraction_non_alphanumeric': 0.14612146722790137, 'fraction_numerical': 0.0, 'mean_word_length': 4.31629392971246, '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': '6276625', 'n_tokens_mistral': 515, 'n_tokens_neox': 512, 'n_words': 142}