Skip to content

Commit

Permalink
Merge pull request #1235 from dsenalik/1234-tv3-chado_associate_semwe…
Browse files Browse the repository at this point in the history
…b_term

1234 tv3 chado associate semweb term
  • Loading branch information
spficklin committed Nov 22, 2021
2 parents ebfde28 + fd8ee21 commit 141f4a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tripal_chado/api/tripal_chado.semweb.api.inc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ function chado_associate_semweb_term($chado_table, $chado_column, $term,
'chado_table' => $chado_table,
'chado_column' => $chado_column,
'cvterm_id' => $term->cvterm_id,
]);
])
->execute();

// If successful, the returned value will be the value of chado_semweb_id
if ($id) {
return TRUE;
}
Expand Down

0 comments on commit 141f4a5

Please sign in to comment.