Skip to content

Commit

Permalink
Fix issue with analysis table
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Mar 22, 2017
1 parent 88d5076 commit a8f3f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/tripal_analysis_expression.chado_node.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ 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);
$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 a8f3f4a

Please sign in to comment.