From e668154d2431583aa7c4866a13d22f65d821113d Mon Sep 17 00:00:00 2001
From: Carlos Vega <carlos.vega@uni.lu>
Date: Tue, 19 Nov 2019 11:34:15 +0100
Subject: [PATCH] moved publication to models. import classes from models

---
 interface/TextMiningService.py | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/interface/TextMiningService.py b/interface/TextMiningService.py
index bd0c219..48f38be 100644
--- a/interface/TextMiningService.py
+++ b/interface/TextMiningService.py
@@ -1,15 +1,7 @@
 from abc import ABCMeta, abstractmethod
 from typing import List
-
-
-class Publication:
-    def __init__(self, pmc_id=None, pm_id=None, doi=None, preprint_id=None, other_id=None):
-        self.pmc_id = pmc_id
-        self.pm_id = pm_id
-        self.doi = doi
-        self.preprint_id = preprint_id
-        self.other_id = other_id
-
+from models.publication import Publication
+from models.coocurrence import CoOccurrence
 
 class TextMiningService(metaclass=ABCMeta):
 
-- 
GitLab