Skip to content

Commit

Permalink
save feature after getting data from lined publications
Browse files Browse the repository at this point in the history
  • Loading branch information
KaimingTao committed Jan 15, 2025
1 parent 101bebb commit 2136125
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def main():

features = update_genbank_by_pubmed(features, lit_ref_match)

features.to_excel(virus_obj.genbank_feature_filled_file)

# Create database using tables:
# GenBank Submission Set
# GenBank Features
Expand Down
4 changes: 4 additions & 0 deletions viruses/virus.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ def genbank_feature_file(self):
def genbank_feature_check_file(self):
return self.timestamp_dir / f"{self.name}__GenBankFeatures_check_{timestamp}.xlsx"

@property
def genbank_feature_filled_file(self):
return self.timestamp_dir / f"{self.name}__GenBankFeatures_filled_{timestamp}.xlsx"

@property
def genbank_gene_file(self):
return self.output_dir / f"{self.name}__GenBankGenes.xlsx"
Expand Down

0 comments on commit 2136125

Please sign in to comment.