diff --git a/src/geckomat/utilities/saveEcModel.m b/src/geckomat/utilities/saveEcModel.m index 69f4bf95..9c0e5bad 100644 --- a/src/geckomat/utilities/saveEcModel.m +++ b/src/geckomat/utilities/saveEcModel.m @@ -40,12 +40,12 @@ function saveEcModel(ecModel,filename,modelAdapter) switch filename(end-3:end) case {'.xml','sbml'} - exportModel(ecModel,[filename '.xml']); + exportModel(ecModel, filename); %Convert notation "e-005" to "e-05 " in stoich. coeffs. to avoid %inconsistencies between Windows and MAC: - copyfile([filename '.xml'],'backup.xml') + copyfile(filename,'backup.xml') fin = fopen('backup.xml', 'r'); - fout = fopen([filename '.xml'], 'w'); + fout = fopen(filename, 'w'); still_reading = true; while still_reading inline = fgets(fin); diff --git a/tutorials/light_ecModel/protocol.m b/tutorials/light_ecModel/protocol.m index 008125e0..f6467131 100644 --- a/tutorials/light_ecModel/protocol.m +++ b/tutorials/light_ecModel/protocol.m @@ -74,7 +74,7 @@ % STEP 26 Merge BRENDA and DLKcat derived values kcatList_merged = mergeDLKcatAndFuzzyKcats(kcatList_DLKcat, kcatList_fuzzy); -% STEP 27 Implement kcat avlues into model.ec.kcat +% STEP 27 Implement kcat values into model.ec.kcat ecModel = selectKcatValue(ecModel,kcatList_merged); % STEP 28 @@ -96,7 +96,7 @@ % -standardMW/standardKcat as the stoiciometric coefficient. [ecModel, rxnsMissingGPR, standardMW, standardKcat] = getStandardKcat(ecModel); -% STEP 31 Apply kcat avlues to S-matrix +% STEP 31 Apply kcat values to S-matrix % In light ecModels the kcat values are also kept in ecModels.ec.kcat, and % only after running applyKcatConstraints are these introduced in the % ecModel.S matrix. In constrast to full ecModels, the applyKcatConstraints