<commit_before># -*- coding: utf-8 -*-
#BEGIN_HEADER
import os
import sys
import traceback
import uuid
from pprint import pprint, pformat
from biokbase.workspace.client import Workspace as workspaceService
#END_HEADER


class Weka:
    '''
    Module Name:
    Weka

    Module Description:
    A KBase module: Weka
    '''

    ######## WARNING FOR GEVENT USERS ####### noqa
    # Since asynchronous IO can lead to methods - even the same method -
    # interrupting each other, you must be *very* careful when using global
    # state. A method could easily clobber the state set by another while
    # the latter method is running.
    ######################################### noqa
    VERSION = "0.0.1"
    GIT_URL = "https://github.com/mikacashman/Weka.git"
    GIT_COMMIT_HASH = "0d9f5f08bbcc32573f6b564231f15594e14e61dd"

    #BEGIN_CLASS_HEADER
    workspaceURL = None
    #END_CLASS_HEADER

    # config contains contents of config file in a hash or None if it couldn't
    # be found
    def __init__(self, config):
        #BEGIN_CONSTRUCTOR
	self.workspaceURL = config['workspace-url']
	self.scratch = config['scratch']
        #END_CONSTRUCTOR
        pass


    def DecisionTree(self, ctx, params):
        """
        :param params: instance of type "DTParams" -> structure: parameter
           "workspace_name" of String, parameter "phenotype_ref" of String,<commit_msg>remake<commit_after># -*- coding: utf-8 -*-
#BEGIN_HEADER
import os
import sys
import traceback
import uuid
from pprint import pprint, pformat
from biokbase.workspace.client import Workspace as workspaceService
#END_HEADER


class Weka:
    '''
    Module Name:
    Weka

    Module Description:
    A KBase module: Weka
    '''

    ######## WARNING FOR GEVENT USERS ####### noqa
    # Since asynchronous IO can lead to methods - even the same method -
    # interrupting each other, you must be *very* careful when using global
    # state. A method could easily clobber the state set by another while
    # the latter method is running.
    ######################################### noqa
    VERSION = "0.0.1"
    GIT_URL = "https://github.com/mikacashman/Weka.git"
    GIT_COMMIT_HASH = "b9656d69c359d4b907d7bfd832b13d4fa459a3c3"

    #BEGIN_CLASS_HEADER
    workspaceURL = None
    #END_CLASS_HEADER

    # config contains contents of config file in a hash or None if it couldn't
    # be found
    def __init__(self, config):
        #BEGIN_CONSTRUCTOR
	self.workspaceURL = config['workspace-url']
	self.scratch = config['scratch']
        #END_CONSTRUCTOR
        pass


    def DecisionTree(self, ctx, params):
        """
        :param params: instance of type "DTParams" -> structure: parameter
           "workspace_name" of String, parameter "phenotype_ref" of String,
{'fraction_non_alphanumeric': 0.11412062116287468, 'fraction_numerical': 0.021307331166486095, 'mean_word_length': 3.2033383915022764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1507925', 'n_tokens_mistral': 889, 'n_tokens_neox': 827, 'n_words': 269}