Skip to content

Commit e213002

Browse files
author
Evgeny Metelkin
committed
create entry point for module
1 parent cc3ff50 commit e213002

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

src/Cov19_life_cycle/cov19_life_cycle.heta

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ include ./cov19_life_cycle.xlsx type xlsx with { sheet: 4, omitRows: 3 }
1515
// @Reaction
1616
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 5, omitRows: 3 }
1717

18-
// include addon.json type json
19-
2018
// exports
2119
output_sbml @SBMLExport {
2220
filepath: cov19_life_cycle_sbml,

src/Cov19_life_cycle/index.heta

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
Entry point for using this module as part of integrated model
3+
*/
4+
5+
// @Const
6+
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 1, omitRows: 3 }
7+
// @Record
8+
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 2, omitRows: 3 }
9+
// @Compartment
10+
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 3, omitRows: 3 }
11+
// @Species
12+
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 4, omitRows: 3 }
13+
// @Reaction
14+
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 5, omitRows: 3 }

src/index.heta

+14-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
entry point for whole platform
44
*/
55

6-
include ./Cov19_life_cycle/cov19_life_cycle.heta
6+
// include units
7+
include ./qsp-units.heta
8+
// include life cycle module
9+
include ./Cov19_life_cycle/index.heta
710

811
// exports
912
out_sbml @SBMLExport {
@@ -32,5 +35,13 @@ out_mrg @MatlabExport {
3235
filepath: covid19_integrated_matlab
3336
};
3437

35-
//output_yaml @YAMLExport { filepath: output };
36-
//output_xlsx @XLSXExport { filepath: cov19_life_cycle_xlsx, omitRows: 3, splitByClass: true };
38+
/*
39+
output_yaml @YAMLExport {
40+
filepath: output
41+
};
42+
output_xlsx @XLSXExport {
43+
filepath: cov19_life_cycle_xlsx,
44+
omitRows: 3,
45+
splitByClass: true
46+
};
47+
*/

0 commit comments

Comments
 (0)