Flatten works
This commit is contained in:
parent
1c24b1edc5
commit
8cffc3062b
3 changed files with 86 additions and 32 deletions
|
|
@ -6399,7 +6399,7 @@ public class BioModel extends CoreObservable{
|
|||
}
|
||||
}
|
||||
|
||||
private ArrayList<String> getListOfSubmodels() throws XMLStreamException, IOException, BioSimException {
|
||||
public ArrayList<String> getListOfSubmodels() throws XMLStreamException, IOException, BioSimException { // Changed private to public (Lukas)
|
||||
ArrayList<String> comps = new ArrayList<String>();
|
||||
|
||||
if (this.getGridEnabledFromFile(filename.replace(".gcm",".xml"))) {
|
||||
|
|
|
|||
|
|
@ -1968,7 +1968,8 @@ public class SBMLutilities extends CoreObservable
|
|||
{
|
||||
String leftStr = convertMath2PrismProperty(math.getLeftChild());
|
||||
String rightStr = convertMath2PrismProperty(math.getRightChild());
|
||||
return "(" + leftStr + " ^ " + rightStr + ")";
|
||||
//return "(" + leftStr + " ^ " + rightStr + ")";
|
||||
return "pow(" + leftStr + " , " + rightStr + ")";
|
||||
}
|
||||
else if (math.getType() == ASTNode.Type.RATIONAL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue