Skip to content

Commit 8ab2df6

Browse files
committed
remove duplicate and unsed imports
1 parent cefaf04 commit 8ab2df6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ontolearn/concept_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
from ontolearn.refinement_operators import ExpressRefinement
6262
from ontolearn.utils import read_csv
6363

64-
from ontolearn.utils.static_funcs import concept_len, prepare_output_path
64+
from ontolearn.utils.static_funcs import concept_len
6565
from ontolearn.quality_funcs import evaluate_concept
6666
from ontolearn.search import EvoLearnerNode, NCESNode, OENode, TreeNode, QualityOrderedNode
6767
from ontolearn.utils.static_funcs import init_length_metric, compute_tp_fn_fp_tn

ontolearn/executor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ def save_best_hypothesis(self, n: int = 10, path: str = 'Predictions', rdf_forma
204204
def execute(args): # pragma: no cover
205205
args.knowledge_base_path = os.path.abspath(args.knowledge_base_path)
206206

207-
args.knowledge_base_path = os.path.abspath(args.knowledge_base_path)
208207
args_d = args.__dict__
209208
learner_type = models[args.model]
210209
optargs = {}

0 commit comments

Comments
 (0)