Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
91e5f249
Commit
91e5f249
authored
Jan 31, 2017
by
VIGNET Pierre
Browse files
Fix sort method: same as in solution_sort file
parent
78187caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
cadbiom/models/clause_constraints/mcl/MCLSolutions.py
View file @
91e5f249
...
...
@@ -383,8 +383,7 @@ class FrontierSolution(object):
The format is readable by the simulator
@param outfile: writable file
"""
outfile
.
write
(
' '
.
join
(
sorted
(
self
.
activated_frontier
))
+
'
\n
'
)
outfile
.
write
(
' '
.
join
(
sorted
(
self
.
activated_frontier
,
key
=
lambda
s
:
s
.
lower
()))
+
'
\n
'
)
outfile
.
write
(
'
\n
'
.
join
(
self
.
ic_sequence
)
+
'
\n
'
)
outfile
.
flush
()
...
...
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