Skip to content

Commit

Permalink
Change exon-cds attribute relation type
Browse files Browse the repository at this point in the history
  • Loading branch information
YinHoon committed Dec 17, 2018
1 parent 548a036 commit 03f0efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc_kb/eukaryote_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class CdsLocus(core.PolymerLocus):
Related attributes:
protein (:obj:`ProteinSpeciesType`): protein
"""
exon = obj_model.OneToOneAttribute(ExonLocus, related_name='cds_loci')
exon = obj_model.ManyToOneAttribute(ExonLocus, related_name='cds_loci')

class Meta(obj_model.Model.Meta):
attribute_order = ('id', 'polymer', 'name', 'exon', 'start', 'end',
Expand Down

0 comments on commit 03f0efe

Please sign in to comment.