@@ -258,7 +258,7 @@ function($s, Biochem, $state, $stateParams, MS, Session) {
258258 var rxn_sFields = [ 'id' , 'name' , 'status' , 'synonyms' , 'aliases' , 'pathways' , 'stoichiometry' , 'notes' ] ;
259259 $s . rxnOpts = Session . getOpts ( $state , 'rxns' ) ||
260260 { 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' ,
262262 'aliases' , 'is_obsolete' , 'is_transport' , 'ontology' , 'pathways' , 'notes' , 'is_transport' ] } ;
263263
264264 // Compounds
@@ -279,7 +279,7 @@ function($s, Biochem, $state, $stateParams, MS, Session) {
279279 { label : 'Equation' , key : 'stoichiometry' , format : function ( r ) {
280280 if ( ! r . stoichiometry ) return "N/A" ;
281281 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>' ;
283283 } } ,
284284 { label : 'Transport' , key : 'is_transport' , format : function ( row ) {
285285 return row . is_transport ? 'Yes' : 'No' ;
@@ -439,7 +439,7 @@ function($s, Biochem, $state, $stateParams, Session) {
439439 // cpd_Reactions
440440 var cpd_rxn_sFields = [ 'id' , 'name' , 'status' , 'aliases' , 'pathways' , 'ontology' , 'stoichiometry' , 'notes' ] ;
441441 $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' ,
443443 'inchikey' , 'smiles' , 'aliases' , 'is_obsolete' , 'ontology' , 'pathways' , 'notes' , 'is_transport' ] } ;
444444
445445 $s . cpd_rxnHeader = [
@@ -453,7 +453,7 @@ function($s, Biochem, $state, $stateParams, Session) {
453453 { label : 'Equation' , key : 'stoichiometry' , format : function ( r ) {
454454 if ( ! r . stoichiometry ) return "N/A" ;
455455 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>' ;
457457 } } ,
458458 { label : 'Transport' , key : 'is_transport' , format : function ( row ) {
459459 return row . is_transport ? 'Yes' : 'No' ;
0 commit comments