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
0e2667c3
Commit
0e2667c3
authored
May 18, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable multiprocessing as it may crash
parent
faefa115
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/plugins/Batches/BatchesACO.py
dream/plugins/Batches/BatchesACO.py
+1
-1
No files found.
dream/plugins/Batches/BatchesACO.py
View file @
0e2667c3
...
@@ -85,7 +85,7 @@ class BatchesACO(ACO):
...
@@ -85,7 +85,7 @@ class BatchesACO(ACO):
data
[
"general"
][
"distributorURL"
]
=
None
# no distributor currently, to be added in the GUI
data
[
"general"
][
"distributorURL"
]
=
None
# no distributor currently, to be added in the GUI
# use multiprocessing in the PC. This can be an option, but default for now
# use multiprocessing in the PC. This can be an option, but default for now
import
multiprocessing
import
multiprocessing
data
[
"general"
][
"multiprocessorCount"
]
=
multiprocessing
.
cpu_count
()
-
1
or
1
data
[
"general"
][
"multiprocessorCount"
]
=
None
#
multiprocessing.cpu_count()-1 or 1
ACO
.
run
(
self
,
data
)
ACO
.
run
(
self
,
data
)
data
[
"result"
][
"result_list"
][
-
1
][
"score"
]
=
''
data
[
"result"
][
"result_list"
][
-
1
][
"score"
]
=
''
data
[
"result"
][
"result_list"
][
-
1
][
"key"
]
=
"Go To Results Page"
data
[
"result"
][
"result_list"
][
-
1
][
"key"
]
=
"Go To Results Page"
...
...
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