Skip to content

Commit

Permalink
create entry point for module
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Jun 1, 2020
1 parent cc3ff50 commit e213002
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Cov19_life_cycle/cov19_life_cycle.heta
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ include ./cov19_life_cycle.xlsx type xlsx with { sheet: 4, omitRows: 3 }
// @Reaction
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 5, omitRows: 3 }

// include addon.json type json

// exports
output_sbml @SBMLExport {
filepath: cov19_life_cycle_sbml,
Expand Down
14 changes: 14 additions & 0 deletions src/Cov19_life_cycle/index.heta
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
Entry point for using this module as part of integrated model
*/

// @Const
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 1, omitRows: 3 }
// @Record
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 2, omitRows: 3 }
// @Compartment
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 3, omitRows: 3 }
// @Species
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 4, omitRows: 3 }
// @Reaction
include ./cov19_life_cycle.xlsx type xlsx with { sheet: 5, omitRows: 3 }
17 changes: 14 additions & 3 deletions src/index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
entry point for whole platform
*/

include ./Cov19_life_cycle/cov19_life_cycle.heta
// include units
include ./qsp-units.heta
// include life cycle module
include ./Cov19_life_cycle/index.heta

// exports
out_sbml @SBMLExport {
Expand Down Expand Up @@ -32,5 +35,13 @@ out_mrg @MatlabExport {
filepath: covid19_integrated_matlab
};

//output_yaml @YAMLExport { filepath: output };
//output_xlsx @XLSXExport { filepath: cov19_life_cycle_xlsx, omitRows: 3, splitByClass: true };
/*
output_yaml @YAMLExport {
filepath: output
};
output_xlsx @XLSXExport {
filepath: cov19_life_cycle_xlsx,
omitRows: 3,
splitByClass: true
};
*/

0 comments on commit e213002

Please sign in to comment.