@@ -258,7 +258,7 @@ function($s, Biochem, $state, $stateParams, MS, Session) {
258
258
var rxn_sFields = [ 'id' , 'name' , 'status' , 'synonyms' , 'aliases' , 'pathways' , 'stoichiometry' , 'notes' ] ;
259
259
$s . rxnOpts = Session . getOpts ( $state , 'rxns' ) ||
260
260
{ query : '' , limit : 25 , offset : 0 , sort : { field : 'id' } , core : 'reactions' , searchFields : rxn_sFields ,
261
- visible : [ 'name' , 'id' , 'definition' , 'deltag' , 'deltagerr' , 'direction ' , 'stoichiometry' , 'status' ,
261
+ visible : [ 'name' , 'id' , 'definition' , 'deltag' , 'deltagerr' , 'reversibility ' , 'stoichiometry' , 'status' ,
262
262
'aliases' , 'is_obsolete' , 'is_transport' , 'ontology' , 'pathways' , 'notes' , 'is_transport' ] } ;
263
263
264
264
// Compounds
@@ -279,7 +279,7 @@ function($s, Biochem, $state, $stateParams, MS, Session) {
279
279
{ label : 'Equation' , key : 'stoichiometry' , format : function ( r ) {
280
280
if ( ! r . stoichiometry ) return "N/A" ;
281
281
var stoich = r . stoichiometry . replace ( / \" / g, '' )
282
- return '<span style="white-space: wrap"' + 'stoichiometry-to-eq="' + stoich + '" direction="' + r . direction + '"></span>' ;
282
+ return '<span style="white-space: wrap"' + 'stoichiometry-to-eq="' + stoich + '" direction="' + r . reversibility + '"></span>' ;
283
283
} } ,
284
284
{ label : 'Transport' , key : 'is_transport' , format : function ( row ) {
285
285
return row . is_transport ? 'Yes' : 'No' ;
@@ -439,7 +439,7 @@ function($s, Biochem, $state, $stateParams, Session) {
439
439
// cpd_Reactions
440
440
var cpd_rxn_sFields = [ 'id' , 'name' , 'status' , 'aliases' , 'pathways' , 'ontology' , 'stoichiometry' , 'notes' ] ;
441
441
$s . cpd_rxnOpts = { query : $s . id , limit : 25 , offset : 0 , sort : { field : 'id' } , core : 'reactions' , searchFields : cpd_rxn_sFields ,
442
- visible : [ 'name' , 'id' , 'definition' , 'deltag' , 'deltagerr' , 'direction ', 'stoichiometry' , 'status' ,
442
+ visible : [ 'name' , 'id' , 'definition' , 'deltag' , 'deltagerr' , 'reversibility ', 'stoichiometry' , 'status' ,
443
443
'inchikey' , 'smiles' , 'aliases' , 'is_obsolete' , 'ontology' , 'pathways' , 'notes' , 'is_transport' ] } ;
444
444
445
445
$s . cpd_rxnHeader = [
@@ -453,7 +453,7 @@ function($s, Biochem, $state, $stateParams, Session) {
453
453
{ label : 'Equation' , key : 'stoichiometry' , format : function ( r ) {
454
454
if ( ! r . stoichiometry ) return "N/A" ;
455
455
var stoich = r . stoichiometry . replace ( / \" / g, '' )
456
- return '<span style="white-space: wrap;"' + 'stoichiometry-to-eq="' + stoich + '" direction="' + r . direction + '"></span>' ;
456
+ return '<span style="white-space: wrap;"' + 'stoichiometry-to-eq="' + stoich + '" direction="' + r . reversibility + '"></span>' ;
457
457
} } ,
458
458
{ label : 'Transport' , key : 'is_transport' , format : function ( row ) {
459
459
return row . is_transport ? 'Yes' : 'No' ;
0 commit comments