-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SBML missing logic arc #736
Comments
This is from @SelbiEreshova: We are still talking to find out the motivation for this but we'll properly need to disallow the usage of some arc types on logic gates when we properly implement logic arcs. |
This seems to be a similar issue to #735. From what I understand, we want the logic arc to connect any node to a logical operator. After that, |
See my email and list the rules as you understand here so I can verify. |
Here is my understanding. I take that modulating arcs are the second arc division in our current sbml palette. The reduced modulating arcs are the third division.
Is that accurate @ugurdogrusoz? PS. Maybe we should name the second division |
Yes that sounds correct. I am not sure about naming that's why the separation without naming. |
This issue is almost done on my part. However, there is one issue: (The arcs are in the order they are in the palette) As you can see, for the majority of arcs, there is a port connection issue. This is probably because these arcs usually don't originate from a process (see the compartment on the right). However, for a minority of arcs, we get the intended behavior, which means that there is a (relatively easy?) fix out there. I think Noor should take a look at this because he was working on #735, which, from the outside, looks very similar. If these issues are unrelated, I can work on a fix. |
Assigning to @ugurdogrusoz for now. You can check the rules for connecting logical operators and the logic arc. The port issue I outlined still remains however. |
@umut-er Looks good in general except:
|
@NoorMuhammad1 Let's make sure
|
Shouldn't the reduced modulation arcs (i.e. the third group of edges, see my message) also connect to the output port of the logical operator? Also, isn't there a problem with the trigger edge in the row you indicated?
Should be fixed. It was caused by a typo. |
…lem and the modulation and sbml arc connection problems iVis-at-Bilkent/newt#736
…lem and the modulation and sbml arc connection problems iVis-at-Bilkent/newt#736
I fixed both the issues. The problem was that the code looks for different types of pre-defined set of arcs to know if they should be connected at the ports or not. I just added the arcs that were missing from the list and added a new option to check for logic arc. |
I think not since they are directly between Species, do not go through process nodes. |
|
… processes while connecting with logical operators. iVis-at-Bilkent/newt#736
The issue for 3. Modulation arcs connecting to ports of processes while joining logical operators with the process is solved. I added the option to check if the arc was a modulation arc and the target node was a process node. And then if it is true then the arc is not connected to the target node ports. |
… processes while connecting with logical operators. iVis-at-Bilkent/newt#736
@hasanbalci @umut-er Can you guys test this as well? Looked good to me. |
I didn't see any problem either. |
I think it is good to go. |
(thanks @adrienrougny) Logic arcs are completely missed in SBML notation. These are needed to connect Species to Logical operators (see the bottom middle part here; edges from D & E to the logical operators are of type logic arc). PD has a counterpart for logical operators. When we implement these, we should also add the rules for creating edges of this type (Species to Logical Operators).
The text was updated successfully, but these errors were encountered: