forked from EPFL-LCSB/redgem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremoveThermoFields.m
40 lines (38 loc) · 1010 Bytes
/
removeThermoFields.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
function model = removeThermoFields(model)
if (isfield(model,'metDeltaGFstd'))
model = rmfield(model, 'metDeltaGFstd');
end
if (isfield(model,'metDeltaGFerr'))
model = rmfield(model, 'metDeltaGFerr');
end
if (isfield(model,'metCharge'))
model = rmfield(model, 'metCharge');
end
if (isfield(model,'metMass'))
model = rmfield(model, 'metMass');
end
if (isfield(model,'metDeltaGFtr'))
model = rmfield(model, 'metDeltaGFtr');
end
if (isfield(model,'struct_cues'))
model = rmfield(model, 'struct_cues');
end
if (isfield(model,'rxnThermo'))
model = rmfield(model, 'rxnThermo');
end
if (isfield(model,'rxnDeltaGR'))
model = rmfield(model, 'rxnDeltaGR');
end
if (isfield(model,'rxnDeltaGRerr'))
model = rmfield(model, 'rxnDeltaGRerr');
end
if (isfield(model,'rxnComp'))
model = rmfield(model, 'rxnComp');
end
if (isfield(model,'rxnMapResult'))
model = rmfield(model, 'rxnMapResult');
end
if (isfield(model,'isCoreTrans'))
model = rmfield(model, 'isCoreTrans');
end
end