Skip to content

Commit

Permalink
fix style 21-29
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Sep 6, 2024
1 parent b46d94c commit 435a5e2
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 98 deletions.
8 changes: 7 additions & 1 deletion cases/21-scenario/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output" },
{ "format": "YAML", "filepath": "output" },
{ "format": "XLSX", "filepath": "table", "omitRows": 3, "splitByClass": true },
{ "format": "Julia", "filepath": "julia" }
]
}
12 changes: 0 additions & 12 deletions cases/21-scenario/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,3 @@ scn2 #setScenario {
scn3 #setScenario {
tspan: [0,12]
};

// exports
#export { format: JSON, filepath: output };
#export { format: YAML, filepath: output };
#export { format: XLSX, filepath: table, omitRows: 3, splitByClass: true };
//#export { format: SBML, filepath: sbml, version: L2V4 };
//#export { format: SLV, filepath: model, eventsOff: false };
//#export { format: DBSolve, filepath: dbsolve };
//#export { format: Simbio, filepath: simbio };
//#export { format: Mrgsolve, filepath: mrgsolve };
//#export { format: Matlab, filepath: matlab };
#export { format: Julia, filepath: julia };
7 changes: 5 additions & 2 deletions cases/22-csv-module/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
}
},
"export": [
{ "format": "JSON", "filepath": "output" }
]
}
13 changes: 0 additions & 13 deletions cases/22-csv-module/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,3 @@
*/

include ./table.csv type table;

// exports
#export { format: JSON, filepath: output };

//#export { format: YAML, filepath: output };
//#export { format: XLSX, filepath: table, omitRows: 3, splitByClass: true };
//#export { format: SBML, filepath: sbml, version: L2V4 };
//#export { format: SLV, filepath: model, eventsOff: false };
//#export { format: DBSolve, filepath: dbsolve };
//#export { format: Simbio, filepath: simbio };
//#export { format: Mrgsolve, filepath: mrgsolve };
//#export { format: Matlab, filepath: matlab };
//#export { format: Julia, filepath: julia };
6 changes: 5 additions & 1 deletion cases/23-circular/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"output": [
{ "format": "JSON", "filepath": "output" }
]
}

12 changes: 0 additions & 12 deletions cases/23-circular/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,3 @@ x3 @Record := x1 * x2 / 3;
y1 @Record .= y3 * k1;
y2 @Record .= y1^2 * k1;
y3 @Record .= y1 * y2 / 3;

// exports
#export { format: JSON, filepath: output };
//#export { format: YAML, filepath: output };
//#export { format: XLSX, filepath: table, omitRows: 3, splitByClass: true };
//#export { format: SBML, filepath: sbml, version: L2V4 };
//#export { format: SLV, filepath: model, eventsOff: false };
//#export { format: DBSolve, filepath: dbsolve };
//#export { format: Simbio, filepath: simbio };
//#export { format: Mrgsolve, filepath: mrgsolve };
//#export { format: Matlab, filepath: matlab };
//#export { format: Julia, filepath: julia };
16 changes: 15 additions & 1 deletion cases/24-define-function/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,19 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"output": [
{ "format": "JSON", "filepath": "output" },
{ "format": "YAML", "filepath": "output" },
{ "format": "Table", "filepath": "table", "omitRows": 3, "splitByClass": true },
{ "format": "XLSX", "filepath": "table", "omitRows": 3, "splitByClass": true },
{ "format": "SBML", "filepath": "sbml", "version": "L2V4" },
{ "format": "DBSolve", "filepath": "dbsolve" },
{ "format": "SLV", "filepath": "slv" },
{ "format": "HetaCode", "filepath": "heta" },
{ "format": "Simbio", "filepath": "simbio" },
{ "format": "Mrgsolve", "filepath": "mrgsolve" },
{ "format": "Matlab", "filepath": "matlab" },
{ "format": "Julia", "filepath": "julia" }
]
}
13 changes: 0 additions & 13 deletions cases/24-define-function/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,3 @@ r1 @Reaction {actors: s1=} := k1 * f5(1.1, k1) * pow(1.1, 2) * c1;

k1 @Const = 0.1;

// exports
#export { format: JSON, filepath: output };
#export { format: YAML, filepath: output };
#export { format: Table, filepath: table, omitRows: 3, splitByClass: true };
#export { format: XLSX, filepath: xlsx, omitRows: 3, splitByClass: true };
#export { format: SBML, filepath: sbml, version: L2V4 };
#export { format: DBSolve, filepath: dbsolve };
#export { format: SLV, filepath: slv };
#export { format: HetaCode, filepath: heta };
#export { format: Simbio, filepath: simbio };
#export { format: Mrgsolve, filepath: mrgsolve };
#export { format: Matlab, filepath: matlab };
#export { format: Julia, filepath: julia };
5 changes: 4 additions & 1 deletion cases/25-units-check/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"output": [
{ "format": "JSON", "filepath": "output" }
]
}
12 changes: 0 additions & 12 deletions cases/25-units-check/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,3 @@ k21 @Const = 1 {units: metre};
k22 @Const = 1 {units: mole};
y21 @Record {units: metre^3} := k21^3 + xxx(1.1*2.2, k21);
y22 @Record {units: metre^3} := k21^3 + zzz(k21, 3.1415);

// exports
#export { format: JSON, filepath: output };
//#export { format: YAML };
//#export { format: XLSX, omitRows: 3, splitByClass: true };
//#export { format: SBML, version: L2V4 };
//#export { format: SLV, eventsOff: false };
//#export { format: DBSolve };
//#export { format: Simbio };
//#export { format: Mrgsolve };
//#export { format: Matlab };
//#export { format: Julia };
5 changes: 4 additions & 1 deletion cases/26-additional-functions/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output" }
]
}
12 changes: 0 additions & 12 deletions cases/26-additional-functions/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,3 @@ include ./qsp-functions.heta;
// include addon.yml type yaml;

p1 @Record .= 1;

// exports
#export { format: JSON, filepath: output };
//#export { format: YAML };
//#export { format: XLSX, omitRows: 3, splitByClass: true };
//#export { format: SBML, version: L2V4 };
//#export { format: SLV, eventsOff: false };
//#export { format: DBSolve };
//#export { format: Simbio };
//#export { format: Mrgsolve };
//#export { format: Matlab };
//#export { format: Julia };
5 changes: 4 additions & 1 deletion cases/27-null/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output" }
]
}
3 changes: 0 additions & 3 deletions cases/27-null/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,3 @@ p1 [xxx]= null;
p1 {units: null};

null @Record 'This is title' .= 1;

// exports
#export { format: JSON, filepath: output };
5 changes: 4 additions & 1 deletion cases/29-lost-switchers/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output" }
]
}
12 changes: 0 additions & 12 deletions cases/29-lost-switchers/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,3 @@ sw2 @CSwitcher {
x1 [sw1]= 10;
x1 [sw2]= 20;
x1 [sw3]= 30;

// exports
#export { format: JSON, filepath: output };
//#export { format: YAML };
//#export { format: XLSX, omitRows: 3, splitByClass: true };
//#export { format: SBML, version: L2V4 };
//#export { format: SLV, eventsOff: false };
//#export { format: DBSolve };
//#export { format: Simbio };
//#export { format: Mrgsolve };
//#export { format: Matlab };
//#export { format: Julia };

0 comments on commit 435a5e2

Please sign in to comment.