COPASI API  4.16.103
incompatibilities.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/incompatibilities.h,v $
3 // $Revision: 1.10 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2010/03/16 18:57:03 $
7 // End CVS Header
8 
9 // Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
16 // and The University of Manchester.
17 // All rights reserved.
18 
19 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
20 // Properties, Inc. and EML Research, gGmbH.
21 // All rights reserved.
22 
23 #ifndef INCOMPATIBILITES_H__
24 #define INCOMPATIBILITES_H__
25 
26 const INCOMPATIBILITY Incompatibilities[] =
27 {
28  {
30  "",
31  ""
32  },
33  {
35  "SBML Incompatibility (1): Object that refers to the \"%s\" of %s \"%s\" has been referenced in a mathematical expression that can not be expressed in SBML.",
36  "Mathematical Expressions in SBML files can only reference the transient values of compartments, species, global parameters and reaction fluxes. In COPASI references to other objects, e.g. the initial value of a species, are also allowed and these references can not be expressed in an SBML file."
37  },
38  {
39  2, 0, 0,
40  SBMLIncompatibility::ERROR, "SBML Incompatibility (2): Call to function \"%s\" used in mathematical expression for %s which can not be exported to SBML.",
41  "Some functions that can be used in mathematical expressions in COPASI models do not have equivalents in MathML or the subset of MathML used by SBML and there is not easy way to convert the function call to something that is SBML compatible. The random distribution functions available in COPASI are an example for this."
42  },
43  {
45  "SBMLIncompatibility (3): Species \"%s\" is defined via an ODE Rule and it is located in compartment \"%s\" which has a variable volume.",
46  "The interpretation of ODE rules for metabolites in compartments with variable volume is slightly different between COPASI and SBML. Those rules can be exported, but another Simulation programm will likely come up with different results."
47  },
48  {
50  "SBMLIncompatibility (4): Rule found for %s \"%s\".",
51  "Rules were introduced to SBML Level 2 Version 1. Prior versions of SBML do not support this feature and therefor models using rules can not be fully exported to SBML Level 1"
52  },
53  {
55  "SBMLIncompatibility (5): InitialAssignment found for %s \"%s\".",
56  "InitialAssignments were introduced to SBML Level 2 Version 2. Prior versions of SBML do not support this feature and therefor models using rules can not be exported to SBML Level 1 or SBML Level 2 Version 1."
57  },
58  {
60  "SBMLIncompatibility (6): SBML Level %d Version %d is not supported.",
61  "COPASI only supports export to SBML Level 1 Version 2, SBML Level 2 Version 1 and SBML Level 2 Version 3."
62  },
63  {
65  "SBMLIncompatibility (7): One or more events found.",
66  "Events were introduced to SBML Level 2 Version 1. Prior versions of SBML do not support this feature and therefore models using events can not be fully exported to SBML Level 1"
67  },
68  {
70  "SBMLIncompatibility (8): Piecewise function definition found in %s with name \"%s\".",
71  "Piecewise function definitions were introduced in SBML Level 2 Version 1. Expressions using them can not be exported to SBML Level 1."
72  },
73  {
75  "SBMLIncompatibility (9): Assignment to object called \"%s\" found in %s, which is not a compartment, species or global parameter.",
76  "Since SBML only allows assignments (rules and events) to compartments, species and global parameters, the assignment can not be exported to SBML."
77  },
78  {
80  "SBML Incompatibility (10): Object that refers the \"%s\" of %s \"%s\" has been referenced in a mathematical expression. This is only allowed for SBML Level 2 Version 2 or above.",
81  "Mathematical Expressions in SBML Level 1 or Level 2 Version 1 files can only reference the transient values of compartments, species and global parameters. Referencing reaction fluxes is only supported for SBML Level 2 Version 2 or newer."
82  },
83  {
85  "SBML Incompatibility (11): Warning. The spatialSizeUnits attribute needs to be removed from the following species: %s",
86  "SBML Version before L2V3 allowed the user to set the spatialSizeUnits attribute on a species. When converting such a model to SBML L2V3 or higher, the attribute has to be removed. If the units given in the attribute are the same as the ones given for the compartment of the species, the model does not change when the attribute is removed. In some cases COPASI thinks that the units given in the attribute are different from the units of the compartment. In these cases you will see this warning."
87  },
88  // This must be the last element of the message list! Do not delete!
89  {9999, 0, 0, SBMLIncompatibility::UNDEFINED, NULL, NULL}
90 };
91 
92 #endif // INCOMPATIBILITES_H__