Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
ca679ad9
Commit
ca679ad9
authored
Nov 25, 2019
by
VIGNET Pierre
Browse files
[cmd] Fix typos; rename search function
parent
89e52ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
command_line/cadbiom_cmd/solution_search.py
View file @
ca679ad9
...
...
@@ -144,8 +144,9 @@ def get_dimacs_start_properties(mcla, previous_frontier_places):
for
frontier_places
in
previous_frontier_places
]
def
main2
(
chart_file
,
mac_file
,
mac_step_file
,
mac_complete_file
,
mac_strong_file
,
steps
,
final_prop
,
start_prop
,
inv_prop
,
all_macs
,
continue_run
,
limit
):
def
search_entry_point
(
chart_file
,
mac_file
,
mac_step_file
,
mac_complete_file
,
mac_strong_file
,
steps
,
final_prop
,
start_prop
,
inv_prop
,
all_macs
,
continue_run
,
limit
):
"""Search solutions
:param chart_file: Model file (bcx, xml, cal).
...
...
@@ -722,14 +723,14 @@ def compute_macs(params):
if
not
params
[
'continue'
]:
# Reset previous working files
# PS: the reload is done in
ma
in
2
() function
# PS: the reload is done in
search_entry_po
in
t
() function
remove_file
(
mac_file
)
remove_file
(
mac_step_file
)
remove_file
(
mac_complete_file
)
remove_file
(
mac_strong_file
)
# MAC research
ma
in
2
(
search_entry_po
in
t
(
params
[
'chart_file'
],
# chart_file
mac_file
,
# mac_file
mac_step_file
,
# mac_step_file
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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