From d9a5f6c7128507a8b12cf8186e895463c971f757 Mon Sep 17 00:00:00 2001 From: Anze Vavpetic Date: Fri, 27 Feb 2015 15:06:39 +0100 Subject: [PATCH] forgot to remove some test code in mysql library.py --- workflows/mysql/library.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflows/mysql/library.py b/workflows/mysql/library.py index 5388c31..f74b016 100644 --- a/workflows/mysql/library.py +++ b/workflows/mysql/library.py @@ -38,8 +38,6 @@ def mysql_aleph_converter(input_dict): if not target_att_val: raise Exception('Please specify a target attribute value.') aleph = Aleph_Converter(input_dict['context'], target_att_val=target_att_val, discr_intervals=input_dict['discr_intervals'] or {}) - with open('test_aleph.b', 'w') as f: - f.write(aleph.background_knowledge()) return {'pos_examples' : aleph.positive_examples(), 'neg_examples' : aleph.negative_examples(), 'bk' : aleph.background_knowledge()} def mysql_treeliker_converter(input_dict): -- GitLab