Skip to content

Commit

Permalink
fix: use readYAMLmodel and writeYAMLmodel (#942)
Browse files Browse the repository at this point in the history
* fix: use readYAMLmodel and writeYAMLmodel in funcs

* fix: remove unnecessary functions

* chore: add macaw test result

---------

Co-authored-by: edkerk <[email protected]>
  • Loading branch information
edkerk and edkerk authored Dec 23, 2024
1 parent 1a562ce commit 5e7c68c
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 1,070 deletions.
2 changes: 1 addition & 1 deletion code/DepMapGeneEss/PrepDepMapData.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
save('data/arrayDataDepMap.mat','arrayDataDepMap');

%Generate ftINIT prepData - only needs to be done once. Can take up to an hour to run
model = importYaml('../../model/Human-GEM.yml');
model = readYAMLmodel('../../model/Human-GEM.yml');
[model.grRules, skipped] = simplifyGrRules(model.grRules, true);%takes a few minutes to run
prepData = prepHumanModelForftINIT(model, true, '../../data/metabolicTasks/metabolicTasks_Essential.txt', '../../model/reactions.tsv');
save('data/prepDataGeneSymbols.mat', 'prepData')
Loading

0 comments on commit 5e7c68c

Please sign in to comment.