-
Notifications
You must be signed in to change notification settings - Fork 28
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
fbc-v3
: Can't set xmlns on KeyValuePairList
& Can't set key and value on KeyValuePair
#241
Comments
KeyValuePairList
& Can't set key and value on KeyValuePair
fbc-v3
: Can't set xmlns on KeyValuePairList
& Can't set key and value on KeyValuePair
this is strange. Setting key / value in the code above works for me if i initialize with: |
Alternatively
will work in your version, as the sbaseplugin extensionpoint does not provide the package version. but yes, the namespace is an issue that needs to be resolved. |
Thanks, using WARNING E0: SBML component consistency (fbc, L1, code) validation.py:186
[Warning] Attributes allowed on <keyValuePair>.
A <keyValuePair> object must have the required
attribute 'fbc:key', and may have the optional
attributes 'fbc:id', 'fbc:name', 'fbc:value' and
'fbc:uri'. No other attributes from the SBML Level 3
Flux Balance Constraints namespaces are permitted on
a <keyValuePair> object.
Fbc attribute 'xmlns' is missing from the
<ListOfKeyValuePairs> element.
WARNING E1: SBML component consistency (fbc, L1, code) validation.py:186
[Warning] Attributes allowed on <keyValuePair>.
A <keyValuePair> object must have the required
attribute 'fbc:key', and may have the optional
attributes 'fbc:id', 'fbc:name', 'fbc:value' and
'fbc:uri'. No other attributes from the SBML Level 3
Flux Balance Constraints namespaces are permitted on
a <keyValuePair> object.
Fbc attribute 'xmlns' is missing from the
<ListOfKeyValuePairs> element. |
it will take a bit with the |
Hi all,
we are currently in the process of implementing support for the fbc version 3 draft in
sbmlutils
andcobrapy
.I just tried creating the
KeyValuePairs
but have some issues.The following code results in issues
Results in problems setting the KeyValue Pairs? You can see that these are not written in the SBML below.
Also the xlmns is not set on the list, but
xmlns="http://www.sbml.org/sbml/level3/version1/fbc/version3"
. Perhaps this is the reason the setting of Key and Value fails ?The specification states that
But it seems I cannot set the xmlns. Also why is this not set automatically if the value has the required value
http://sbml.org/fbc/keyvaluepair
and the following SBML
Best Matthias
The text was updated successfully, but these errors were encountered: