Skip to content
GitLab
Menu
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
57e85c7b
Commit
57e85c7b
authored
Nov 11, 2019
by
VIGNET Pierre
Browse files
[gui] Fix to handle MCLAnalyser change: mac_search is a generator now
parent
e3f63e7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/cadbiom_gui/gt_gui/chart_checker/chart_checker_controler.py
View file @
57e85c7b
...
@@ -367,8 +367,8 @@ class OccurenceForm(object):
...
@@ -367,8 +367,8 @@ class OccurenceForm(object):
if
ask
:
if
ask
:
query
=
MCLSimpleQuery
(
self
.
start_prop
,
query
=
MCLSimpleQuery
(
self
.
start_prop
,
self
.
inv_prop
,
self
.
property
)
self
.
inv_prop
,
self
.
property
)
mac_list
=
self
.
mcla
.
mac_search
(
query
,
self
.
max_step
)
mac_list
=
tuple
(
self
.
mcla
.
mac_search
(
query
,
self
.
max_step
)
)
if
len
(
mac_list
)
==
0
:
if
not
mac_list
:
ok_warn
(
"The solver could not find a MAC,"
+
ok_warn
(
"The solver could not find a MAC,"
+
"
\n
you should refine your query"
)
"
\n
you should refine your query"
)
else
:
else
:
...
...
Write
Preview
Supports
Markdown
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