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
e8042183
Commit
e8042183
authored
Aug 19, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new plugin added to read wip from the new format. model set to use this plugin
parent
886870dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
dream/plugins/Batches/BatchesWIPShort.py
dream/plugins/Batches/BatchesWIPShort.py
+17
-0
dream/simulation/Examples/GUI_models/BatchesNewWIP.json
dream/simulation/Examples/GUI_models/BatchesNewWIP.json
+1
-1
No files found.
dream/plugins/Batches/BatchesWIPShort.py
0 → 100644
View file @
e8042183
from
copy
import
copy
import
json
import
time
import
random
import
operator
import
datetime
from
dream.plugins
import
plugin
class
BatchesWIPShort
(
plugin
.
InputPreparationPlugin
):
""" Input preparation
reads the WIP from the short format
"""
def
preprocess
(
self
,
data
):
print
1
return
data
\ No newline at end of file
dream/simulation/Examples/GUI_models/BatchesNewWIP.json
View file @
e8042183
...
@@ -386,7 +386,7 @@
...
@@ -386,7 +386,7 @@
"input_id"
:
"EntryData"
"input_id"
:
"EntryData"
},
},
{
{
"_class"
:
"dream.plugins.Batches.BatchesWIPS
preadsheet.BatchesWIPSpreadshee
t"
,
"_class"
:
"dream.plugins.Batches.BatchesWIPS
hort.BatchesWIPShor
t"
,
"input_id"
:
"WipSpreadsheet"
"input_id"
:
"WipSpreadsheet"
},
},
{
{
...
...
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