<commit_before>import dbnp.studycapturing.Study
import dbnp.studycapturing.Template
import org.codehaus.groovy.grails.commons.GrailsApplication

/**
 * Home Controler
 *
 * My Description
 *
 * @author  <NAME>
 * @since   20091102
 * @package studycapturing
 *
 * Revision information:
 * $Rev$
 * $Author$
 * $Date$
 */
class HomeController {
    def index = {
	    if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST) {
		    redirect(controller:'setup',action:'index')		    
	    } else {
		    [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ]
	    }
    }
    
}<commit_msg>- disable redirect into setup wizard as there is no setup wizard yet<commit_after>import dbnp.studycapturing.Study
import dbnp.studycapturing.Template
import org.codehaus.groovy.grails.commons.GrailsApplication

/**
 * Home Controler
 *
 * My Description
 *
 * @author  <NAME>
 * @since   20091102
 * @package studycapturing
 *
 * Revision information:
 * $Rev$
 * $Author$
 * $Date$
 */
class HomeController {
    def index = {
	    //if (!Template.count() && grails.util.GrailsUtil.environment != GrailsApplication.ENV_TEST && grails.util.GrailsUtil.environment != "dbnptest") {
		//    redirect(controller:'setup',action:'index')
	    //} else {
		    [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count(), facebookLikeUrl: '/' ]
	    //}
    }
    
}
{'fraction_non_alphanumeric': 0.1375590020229265, 'fraction_numerical': 0.01078894133513149, 'mean_word_length': 3.6230529595015577, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5207053', 'n_tokens_mistral': 512, 'n_tokens_neox': 462, 'n_words': 86}