Re: [cellml-discussion] model upload problems
Sounds like this is something we should broadcast with a megaphone. There is probably nothing that would irk someone more than uploading a file and it not working. James Tommy Yu wrote: David Nickerson wrote: Hi, I just tried to load the attached model into the model repository to use as an example with the graphing metadata specification but am having some problems. Firstly, it didn't pick up some of the model metadata during the upload process. At least there were some empty text boxes presented to me that I would have expected to be filled with the metadata from the model. Not sure if that is an error in the upload process or an error in my model metadata? These boxes are still empty later when I got to the metadata editor. Hi Andre, Your metadata is fine, it did get picked up. However, the namespace is CellML 1.1 which the XSLT that generates the documentation (from the tmp-documentation namespace) do not support. Ditto for CellML - MathML XSLT. I see that it is just one file, so I changed it to 1.0 and repository thinks it's okay now. Kind Regards, Tommy. I managed to get it into the repository as http://www.cellml.org/models/sine-approximations_version01 but it doesn't really seem to work. The overview page just says: error occurs during transform. See error log - can I see the error log somewhere or is this just for the site admin to see? The view math tab gives and XML parsing error - a bit strange since I can run simulations of the model fine using my tool based on the CCGS and API and the code generation tab works fine and gives me the expected C code. Anyone have any suggestions? Thanks, Andre. ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion
Re: [cellml-discussion] model upload problems
James Lawson wrote: Sounds like this is something we should broadcast with a megaphone. There is probably nothing that would irk someone more than uploading a file and it not working. or perhaps, if possible without too much effort, to detect XML files uploaded which don't have a document element of model in the CellML 1.0 namespace and give the user an error and not accept the model? Andre. James Tommy Yu wrote: David Nickerson wrote: Hi, I just tried to load the attached model into the model repository to use as an example with the graphing metadata specification but am having some problems. Firstly, it didn't pick up some of the model metadata during the upload process. At least there were some empty text boxes presented to me that I would have expected to be filled with the metadata from the model. Not sure if that is an error in the upload process or an error in my model metadata? These boxes are still empty later when I got to the metadata editor. Hi Andre, Your metadata is fine, it did get picked up. However, the namespace is CellML 1.1 which the XSLT that generates the documentation (from the tmp-documentation namespace) do not support. Ditto for CellML - MathML XSLT. I see that it is just one file, so I changed it to 1.0 and repository thinks it's okay now. Kind Regards, Tommy. I managed to get it into the repository as http://www.cellml.org/models/sine-approximations_version01 but it doesn't really seem to work. The overview page just says: error occurs during transform. See error log - can I see the error log somewhere or is this just for the site admin to see? The view math tab gives and XML parsing error - a bit strange since I can run simulations of the model fine using my tool based on the CCGS and API and the code generation tab works fine and gives me the expected C code. Anyone have any suggestions? Thanks, Andre. ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion -- David Nickerson, PhD Research Fellow Division of Bioengineering Faculty of Engineering National University of Singapore Email: [EMAIL PROTECTED] ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion
Re: [cellml-discussion] model upload problems
Loading http://www.cellml.org/models/sine-approximations_version01 in PCEnv, the graph has three traces, but only one of them shows (sin1). Is this supposed to happen? So the idea of this graphing metadata is to fulfil a similar function to that of session files? I had a look at the spec but it's a bit technical for me to completely grasp it. David Nickerson wrote: James Lawson wrote: Sounds like this is something we should broadcast with a megaphone. There is probably nothing that would irk someone more than uploading a file and it not working. or perhaps, if possible without too much effort, to detect XML files uploaded which don't have a document element of model in the CellML 1.0 namespace and give the user an error and not accept the model? Andre. James Tommy Yu wrote: David Nickerson wrote: Hi, I just tried to load the attached model into the model repository to use as an example with the graphing metadata specification but am having some problems. Firstly, it didn't pick up some of the model metadata during the upload process. At least there were some empty text boxes presented to me that I would have expected to be filled with the metadata from the model. Not sure if that is an error in the upload process or an error in my model metadata? These boxes are still empty later when I got to the metadata editor. Hi Andre, Your metadata is fine, it did get picked up. However, the namespace is CellML 1.1 which the XSLT that generates the documentation (from the tmp-documentation namespace) do not support. Ditto for CellML - MathML XSLT. I see that it is just one file, so I changed it to 1.0 and repository thinks it's okay now. Kind Regards, Tommy. I managed to get it into the repository as http://www.cellml.org/models/sine-approximations_version01 but it doesn't really seem to work. The overview page just says: error occurs during transform. See error log - can I see the error log somewhere or is this just for the site admin to see? The view math tab gives and XML parsing error - a bit strange since I can run simulations of the model fine using my tool based on the CCGS and API and the code generation tab works fine and gives me the expected C code. Anyone have any suggestions? Thanks, Andre. ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion
[cellml-discussion] model upload problems
Hi, I just tried to load the attached model into the model repository to use as an example with the graphing metadata specification but am having some problems. Firstly, it didn't pick up some of the model metadata during the upload process. At least there were some empty text boxes presented to me that I would have expected to be filled with the metadata from the model. Not sure if that is an error in the upload process or an error in my model metadata? These boxes are still empty later when I got to the metadata editor. I managed to get it into the repository as http://www.cellml.org/models/sine-approximations_version01 but it doesn't really seem to work. The overview page just says: error occurs during transform. See error log - can I see the error log somewhere or is this just for the site admin to see? The view math tab gives and XML parsing error - a bit strange since I can run simulations of the model fine using my tool based on the CCGS and API and the code generation tab works fine and gives me the expected C code. Anyone have any suggestions? Thanks, Andre. -- David Nickerson, PhD Research Fellow Division of Bioengineering Faculty of Engineering National University of Singapore Email: [EMAIL PROTECTED] ?xml version=1.0 encoding=iso-8859-1? model name=sine_approximations cmeta:id=sine_approximations xmlns=http://www.cellml.org/cellml/1.1#; xmlns:cellml=http://www.cellml.org/cellml/1.1#; xmlns:cmeta=http://www.cellml.org/metadata/1.0#; rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:cmeta=http://www.cellml.org/metadata/1.0#; xmlns:bqs=http://www.cellml.org/bqs/1.0#; xmlns:dc=http://purl.org/dc/elements/1.1/; xmlns:dcterms=http://purl.org/dc/terms/; xmlns:vCard=http://www.w3.org/2001/vcard-rdf/3.0#; xmlns:cs=http://www.cellml.org/metadata/simulation/1.0#; xmlns:cg=http://www.cellml.org/metadata/graphs/1.0#; rdf:Description rdf:about= dc:creator rdf:parseType=Resource vCard:N rdf:parseType=Resource vCard:FamilyNickerson/vCard:Family vCard:GivenDavid/vCard:Given /vCard:N vCard:EMAIL rdf:parseType=Resource rdf:value[EMAIL PROTECTED]/rdf:value rdf:type rdf:resource=http://imc.org/vCard/3.0#internet; / /vCard:EMAIL vCard:ORG rdf:parseType=Resource vCard:OrgnameNational University of Singapore/vCard:Orgname vCard:OrgunitDivision of Bioengineering/vCard:Orgunit /vCard:ORG /dc:creator dcterms:created rdf:parseType=Resource dcterms:W3CDTF2006-12-21/dcterms:W3CDTF /dcterms:created /rdf:Description rdf:Description rdf:about=#sine_approximations dc:title Simple sine approximations model to illustrate graphing metadata. /dc:title cmeta:comment rdf:parseType=Resource rdf:value A very simple model describing different ways to calculate sine(x) over the range 0 to 2*pi. Used to illustrate the use of graphing metadata. /rdf:value dc:creator rdf:parseType=Resource vCard:FNDavid Nickerson/vCard:FN /dc:creator /cmeta:comment cs:simulation rdf:Description rdf:ID=simulation cs:simulationNameSine Approximations/cs:simulationName cs:multistepMethodadams/cs:multistepMethod cs:iterationMethodfunctional/cs:iterationMethod cs:boundIntervals rdf:parseType=Collection rdf:Description cs:boundVariable rdf:Description rdf:about=#x/ /cs:boundVariable cs:maximumStepSize rdf:datatype=http://www.w3.org/2001/XMLSchema#double; 0.1 /cs:maximumStepSize cs:tabulationStepSize rdf:datatype=http://www.w3.org/2001/XMLSchema#double; 0.5 /cs:tabulationStepSize cs:startingValue rdf:datatype=http://www.w3.org/2001/XMLSchema#double; 0 /cs:startingValue cs:endingValue rdf:datatype=http://www.w3.org/2001/XMLSchema#double; 6.283185307179586232 /cs:endingValue /rdf:Description /cs:boundIntervals /rdf:Description /cs:simulation cg:graph rdf:Description rdf:ID=sine_approximations_graph_black cg:titlesin(x) approximations/cg:title cg:x-labelx ()/cg:x-label cg:y-labely ()/cg:y-label cg:background-colour#00/cg:background-colour cg:colour#ff/cg:colour cg:traces rdf:parseType=Collection rdf:Description cg:labely = sin(x)/cg:label cg:type rdf:resource=http://www.cellml.org/metadata/graphs/1.0#line/
Re: [cellml-discussion] model upload problems
David Nickerson wrote: Hi, I just tried to load the attached model into the model repository to use as an example with the graphing metadata specification but am having some problems. Firstly, it didn't pick up some of the model metadata during the upload process. At least there were some empty text boxes presented to me that I would have expected to be filled with the metadata from the model. Not sure if that is an error in the upload process or an error in my model metadata? These boxes are still empty later when I got to the metadata editor. Hi Andre, Your metadata is fine, it did get picked up. However, the namespace is CellML 1.1 which the XSLT that generates the documentation (from the tmp-documentation namespace) do not support. Ditto for CellML - MathML XSLT. I see that it is just one file, so I changed it to 1.0 and repository thinks it's okay now. Kind Regards, Tommy. I managed to get it into the repository as http://www.cellml.org/models/sine-approximations_version01 but it doesn't really seem to work. The overview page just says: error occurs during transform. See error log - can I see the error log somewhere or is this just for the site admin to see? The view math tab gives and XML parsing error - a bit strange since I can run simulations of the model fine using my tool based on the CCGS and API and the code generation tab works fine and gives me the expected C code. Anyone have any suggestions? Thanks, Andre. ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion ___ cellml-discussion mailing list cellml-discussion@cellml.org http://www.cellml.org/mailman/listinfo/cellml-discussion