copasi API  0.1
copasi/sbml/incompatibilities.h
Go to the documentation of this file.
00001 // Begin CVS Header
00002 //   $Source: /fs/turing/cvs/copasi_dev/copasi/sbml/incompatibilities.h,v $
00003 //   $Revision: 1.10 $
00004 //   $Name: Build-33 $
00005 //   $Author: shoops $
00006 //   $Date: 2010/03/16 18:57:03 $
00007 // End CVS Header
00008 
00009 // Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
00010 // Properties, Inc., University of Heidelberg, and The University
00011 // of Manchester.
00012 // All rights reserved.
00013 
00014 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
00015 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
00016 // and The University of Manchester.
00017 // All rights reserved.
00018 
00019 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
00020 // Properties, Inc. and EML Research, gGmbH.
00021 // All rights reserved.
00022 
00023 #ifndef INCOMPATIBILITES_H__
00024 #define INCOMPATIBILITES_H__
00025 
00026 const INCOMPATIBILITY Incompatibilities[] =
00027 {
00028   {
00029     0, 0, 0, SBMLIncompatibility::UNDEFINED,
00030     "",
00031     ""
00032   },
00033   {
00034     1, 0, 0, SBMLIncompatibility::ERROR,
00035     "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.",
00036     "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."
00037   },
00038   {
00039     2, 0, 0,
00040     SBMLIncompatibility::ERROR, "SBML Incompatibility (2): Call to function \"%s\" used in mathematical expression for %s which can not be exported to SBML.",
00041     "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."
00042   },
00043   {
00044     3, 0, 0, SBMLIncompatibility::WARNING,
00045     "SBMLIncompatibility (3): Species \"%s\" is defined via an ODE Rule and it is located in compartment \"%s\" which has a variable volume.",
00046     "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."
00047   },
00048   {
00049     4, 2, 1, SBMLIncompatibility::ERROR,
00050     "SBMLIncompatibility (4): Rule found for %s \"%s\".",
00051     "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"
00052   },
00053   {
00054     5, 2, 2, SBMLIncompatibility::ERROR,
00055     "SBMLIncompatibility (5): InitialAssignment found for %s \"%s\".",
00056     "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."
00057   },
00058   {
00059     6, 0, 0, SBMLIncompatibility::ERROR,
00060     "SBMLIncompatibility (6): SBML Level %d Version %d is not supported.",
00061     "COPASI only supports export to SBML Level 1 Version 2, SBML Level 2 Version 1 and SBML Level 2 Version 3."
00062   },
00063   {
00064     7, 2, 1, SBMLIncompatibility::ERROR,
00065     "SBMLIncompatibility (7): One or more events found.",
00066     "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"
00067   },
00068   {
00069     8, 2, 1, SBMLIncompatibility::ERROR,
00070     "SBMLIncompatibility (8): Piecewise function definition found in %s with name \"%s\".",
00071     "Piecewise function definitions were introduced in SBML Level 2 Version 1. Expressions using them can not be exported to SBML Level 1."
00072   },
00073   {
00074     9, 0, 0, SBMLIncompatibility::ERROR,
00075     "SBMLIncompatibility (9): Assignment to object called \"%s\" found in %s, which is not a compartment, species or global parameter.",
00076     "Since SBML only allows assignments (rules and events) to compartments, species and global parameters, the assignment can not be exported to SBML."
00077   },
00078   {
00079     10, 0, 0, SBMLIncompatibility::ERROR,
00080     "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.",
00081     "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."
00082   },
00083   {
00084     11, 2, 3, SBMLIncompatibility::WARNING,
00085     "SBML Incompatibility (11): Warning. The spatialSizeUnits attribute needs to be removed from the following species: %s",
00086     "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."
00087   },
00088   // This must be the last element of the message list! Do not delete!
00089   {9999, 0, 0, SBMLIncompatibility::UNDEFINED, NULL, NULL}
00090 };
00091 
00092 #endif // INCOMPATIBILITES_H__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines