Commit be8989c0 authored by panos's avatar panos

plugin to invoke data extraction added. Dummy still

parent a2e4ece4
from copy import copy, deepcopy
import json
import time
import random
import operator
import datetime
from dream.plugins import plugin
class CapacityStationsKE(plugin.InputPreparationPlugin):
""" Input preparation
creates the CapacityStationBuffer and CapacityStationExit for each CapacityStation
"""
def preprocess(self, data):
from dream.KnowledgeExtraction.PilotCases.CapacityStations.DataExtraction import DataExtraction
DBFilePath=data['general']['ke_url']
extractedData=DataExtraction(DBFilePath)
return data
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment