- Author:
- Matthias K?nig <matthias.koenig@charite.de>
- Date:
- 2013-04-21 20:13:13+02:00
- Desc:
- Nazaret 2009 example implemented and integratable.
Results between normal and MCL implementation not identical ! Problems with original model implementation (no steady state)!
- Permanent Source URI:
- https://staging.physiomeproject.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/f963a33d3d8fb4ce27a9e04729b5038282db7623/CellML-source/CellMLTools/src/componentlibrary/RComponentTest.java
package componentlibrary;
import java.util.List;
import java.util.TreeMap;
/* Get additional information for the component from the CellML and run the test. */
public class RComponentTest {
public static void main(String[] args) throws Exception{
TreeMap<String, RComponent> cMap = RComponentImporter.readComponentsFromCSV();
int count = 1;
for (RComponent c: cMap.values()){
RCellMLComponent rcc = new RCellMLComponent(c);
rcc.print(count);
List<String> vars = rcc.getVariablesFromKineticsComponent();
for (String var: vars){
System.out.println(var);
}
System.out.println("\nValidation Errors: " + rcc.getNValidationErrors());
//if (count == 1){break;}
count++;
}
}
}