Skip to content

Commit

Permalink
Get things into proper objects
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Aug 15, 2024
1 parent 8b99b7f commit 76e2f30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions genes/management/commands/import_cdot_latest.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ def handle(self, *args, **options):
# the total download and insertion time
combo_files = get_latest_combo_file_urls(annotation_consortia={annotation_consortium_label},
genome_builds=[genome_build_name])

genome_build = GenomeBuild.get_name_or_alias(genome_build_name)
annotation_consortium = AnnotationConsortium(ac_lookup[annotation_consortium_label])

combo_file_url = get_single_element(combo_files)
logging.info(f"%s/%s - downloading: %s",
genome_build, annotation_consortium.label, combo_file_url)
Expand Down

0 comments on commit 76e2f30

Please sign in to comment.