Commit 3fcdaf1e authored by panos's avatar panos

Bug fixed in the plugin

parent 51437595
...@@ -13,7 +13,7 @@ class JobShopKE(plugin.InputPreparationPlugin): ...@@ -13,7 +13,7 @@ class JobShopKE(plugin.InputPreparationPlugin):
def preprocess(self, data): def preprocess(self, data):
from dream.KnowledgeExtraction.PilotCases.JobShop.DataExtraction import DataExtraction from dream.KnowledgeExtraction.PilotCases.JobShop.DataExtraction import DataExtraction
receivedData = DataExtraction("C:\Users\Panos\Documents\DB_Approach\JobShop") receivedData = DataExtraction(data['general']["ServerAuth"])
outputJSONString=json.dumps(receivedData, indent=True) outputJSONString=json.dumps(receivedData, indent=True)
outputJSONFile=open('dataFromSQL.json', mode='w') outputJSONFile=open('dataFromSQL.json', mode='w')
outputJSONFile.write(outputJSONString) outputJSONFile.write(outputJSONString)
......
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