Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
be8989c0
Commit
be8989c0
authored
Mar 24, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugin to invoke data extraction added. Dummy still
parent
a2e4ece4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
dream/plugins/CapacityStationsKE.py
dream/plugins/CapacityStationsKE.py
+21
-0
No files found.
dream/plugins/CapacityStationsKE.py
0 → 100644
View file @
be8989c0
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment