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
a53f9748
Commit
a53f9748
authored
Jan 22, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove print commited by mistake
and add one assertion
parent
d218f990
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
dream/plugins/ACO.py
dream/plugins/ACO.py
+1
-1
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+0
-1
No files found.
dream/plugins/ACO.py
View file @
a53f9748
...
...
@@ -52,6 +52,7 @@ class ACO(plugin.ExecutionPlugin):
assert
collated
max_results
=
data
[
'general'
][
'numberOfSolutions'
]
assert
max_results
>=
1
ants
=
[]
#list of ants for keeping track of their performance
...
...
@@ -141,6 +142,5 @@ class ACO(plugin.ExecutionPlugin):
result
[
'key'
]
=
ant
[
'key'
]
result_list
.
append
(
result
)
print
data
[
'result'
][
'result_list'
]
self
.
logger
.
info
(
"ACO finished, execution time %0.2fs"
%
(
time
.
time
()
-
start
))
return
data
dream/simulation/LineGenerationJSON.py
View file @
a53f9748
...
...
@@ -683,7 +683,6 @@ def main(argv=[], input_data=None):
# XXX I am not sure we still need this case
return
print
G
.
JSONData
# XXX result_list is not needed here, we could replace result by result_list
G
.
JSONData
[
'result'
]
=
{
'result_list'
:
[
G
.
outputJSON
]}
#logger.info("execution time="+str(time.time()-start))
...
...
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