Skip to content

Commit

Permalink
new style 6-10
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Sep 6, 2024
1 parent eb98a9c commit f1fbdf9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 23 deletions.
9 changes: 7 additions & 2 deletions cases/10-functions/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
"license": "UNLICENSED",
"options": {
"debug": false,
"logs": "output.log",
"logPath": "output.log",
"logLevel": "info",
"unitsCheck": false
},
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "SLV", "filepath": "model" },
{ "format": "SBML", "filepath": "sbml" },
{ "format": "Julia", "filepath": "julia" }
]
}
4 changes: 0 additions & 4 deletions cases/10-functions/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ bo01 @Record '(x > y) and (x < z) ? y1 : y2' := (x > y) and (x < z) ? y1 : y2;
// pre-defined constants
pc01 @Record '2*e' := 2*e;
pc02 @Record '2*pi' := 2*pi;

#export {filepath: model, format: SLV};
#export {filepath: sbml, format: SBML};
#export {filepath: julia, format: Julia};
6 changes: 5 additions & 1 deletion cases/6-import/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "SBML", "version": "L2V4", "spaceFilter": "model", "filepath": "output_sbml" },
{ "format": "JSON", "spaceFilter": "model", "filepath": "output_json" }
]
}
3 changes: 0 additions & 3 deletions cases/6-import/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,5 @@ namespace model begin
Km_A @Const = 0.8;
end

#export { format: SBML, version: L2V4, spaceFilter: model, filepath: output_sbml };
#export { format: JSON, spaceFilter: [model], filepath: output_json };

#delete RateLaws::mm;
#delete RateLaws::ma;
6 changes: 5 additions & 1 deletion cases/7-importNS/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output_json" },
{ "format": "SBML", "filepath": "output_sbml" }
]
}
9 changes: 0 additions & 9 deletions cases/7-importNS/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,3 @@ kel_second @Const = 0.2;
};
kabs_third @Const = 3e-3;
kel_third @Const = 0.3;

#export {
filepath: output_json,
format: JSON
};
#export {
filepath: output_sbml,
format: SBML
};
6 changes: 5 additions & 1 deletion cases/8-tables/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"importModule": {
"type": "heta",
"source": "src/index.heta"
}
},
"export": [
{ "format": "JSON", "filepath": "output_json" }
]
}

2 changes: 0 additions & 2 deletions cases/8-tables/src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ include table.xlsx type xlsx with { sheet: 0, omitRows: 3 };
include table.xlsx type xlsx with { sheet: 1, omitRows: 3 };

include table.xlsx type xlsx;

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

0 comments on commit f1fbdf9

Please sign in to comment.