diff --git a/TODO.md b/TODO.md index 12d6c95..43234cd 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,11 @@ # TODO list -- better default code - hot keys for InfoPage - nice css styles - support of smartphones - load files with full path - use JSZip for storing in localStorage - extend info modal -- syntax highlights heta for `abstract namespace xxx` ? not to display output.log ? autocomplete in heta syntax ? Matlab highliting support @@ -17,5 +15,3 @@ ## Errors - highlight namespace - - diff --git a/src/heta-templates/index.heta.template.js b/src/heta-templates/index.heta.template.js index a598b46..1e004b1 100644 --- a/src/heta-templates/index.heta.template.js +++ b/src/heta-templates/index.heta.template.js @@ -1,19 +1,27 @@ export default `/* - template file for creating platform +template file for creating platform */ -// add qsp units +// add file with units //include ./qsp-units.heta; +// add another files // include module.heta type heta; // include table.xlsx type table with { sheet: 0, omitRows: 3 }; -// include addon.json type json; -// include addon.yml type yaml; -p1 @Record .= 1; +comp1 @Compartment {units: litre} .= 5.5; + +S1 @Species {compartment: comp1, units: (1e-6 mole)/litre} .= 10; +P1 @Species {compartment: comp1, units: (1e-6 mole)/litre} .= 0; + +r1 @Reaction {actors: S1=>P1, units: (1e-6 mole)/second} + := Vmax * S1 / (S1 + Km) * comp1; + +Vmax @Const {units: (1e-6 mole)/litre/second} = 1e-5; +Km @Const {units: (1e-6 mole)/litre} = 3.3; // exports #export { format: JSON }; -#export { format: YAML }; +//#export { format: YAML }; #export { format: XLSX, omitRows: 3, splitByClass: true }; #export { format: SBML, version: L2V4 }; //#export { format: SLV, eventsOff: false }; @@ -22,6 +30,6 @@ p1 @Record .= 1; //#export { format: Mrgsolve }; //#export { format: Matlab }; //#export { format: HetaCode }; +//#export { format: Julia }; #export { format: Dot }; -#export { format: Julia }; `; \ No newline at end of file