Skip to content

Commit

Permalink
fix chado_get_id_from_nid() call error
Browse files Browse the repository at this point in the history
  • Loading branch information
MingChen0919 authored Nov 30, 2016
1 parent d37325e commit 00a26c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/tripal_analysis_expression.chado_node.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,8 @@ function tripal_analysis_expression_node_insert($node) {
case 'chado_analysis_expression':

// Find the a analysis_expression and add details.
$analysis_expression_id = chado_get_id_from_nid('analysis', $node->nid, 'chado.analysis');
//$analysis_expression_id = chado_get_id_from_nid('analysis', $node->nid, 'chado.analysis');
$analysis_expression_id = chado_get_id_from_nid('analysis', $node->nid);
$values = array('analysis_id' => $analysis_expression_id);
$analysis_expression = chado_generate_var('analysis', $values);
$node->analysis_expression = $analysis_expression;
Expand Down

0 comments on commit 00a26c0

Please sign in to comment.