Skip to content

Commit

Permalink
Fix KEGGProp initialization statement
Browse files Browse the repository at this point in the history
(cherry picked from commit 4ab9459)
  • Loading branch information
nmih committed Mar 6, 2018
1 parent 26db8be commit 6f41652
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ssbio/databases/kegg.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@


class KEGGProp(SeqProp):
def __init__(self, seq, id, fasta_path=None, txt_path=None, gff_path=None):
SeqProp.__init__(self, seq=seq, id=id, sequence_path=fasta_path, metadata_path=txt_path, feature_path=gff_path)
def __init__(self, seq, id, name='<unknown name>', description='<unknown description>',
fasta_path=None, txt_path=None, gff_path=None):
SeqProp.__init__(self, id=id, seq=seq, name=name, description=description,
sequence_path=fasta_path, metadata_path=txt_path, feature_path=gff_path)
self.kegg = id

@SeqProp.metadata_path.setter
Expand Down

0 comments on commit 6f41652

Please sign in to comment.