Skip to content

Commit

Permalink
Merge pull request #1367 from tripal/1366-tv3-addGeneParent-addProtein
Browse files Browse the repository at this point in the history
Issue 1366 addGeneParent addProtein
  • Loading branch information
laceysanderson committed Dec 14, 2022
2 parents def9575 + d6cc11a commit 13c87d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class data__sequence_record extends ChadoField {
$seq_length_term => strlen($gene->residues),
$seq_md5sum_term => md5($gene->residues),
$type_term => 'gene',
$fasta_defline => chado_get_fasta_defline($gene),
$fasta_defline => chado_get_fasta_defline($gene, '', NULL, 'gene'),
];
}
else {
Expand Down Expand Up @@ -426,7 +426,7 @@ class data__sequence_record extends ChadoField {
$seq_length_term => strlen($protein->residues),
$seq_md5sum_term => md5($protein->residues),
$type_term => 'polypeptide',
$fasta_defline => chado_get_fasta_defline($protein),
$fasta_defline => chado_get_fasta_defline($protein, '', NULL, 'protein'),
];
}
}
Expand Down

0 comments on commit 13c87d7

Please sign in to comment.