Skip to content

Commit 9a9ab1c

Browse files
committed
made the api call return genebuild source name as lower case
1 parent 47ce160 commit 9a9ab1c

File tree

1 file changed

+1
-1
lines changed
  • src/ensembl/production/metadata/api/adaptors

1 file changed

+1
-1
lines changed

src/ensembl/production/metadata/api/adaptors/genome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def get_public_path(self, genome_uuid, dataset_type='all', release=None):
930930
match = re.match(r'^(\d{4}-\d{2})', last_geneset_update) # Match format YYYY-MM
931931
last_geneset_update = match.group(1).replace('-', '_')
932932
scientific_name = scientific_name.replace(' ', '_')
933-
933+
genebuild_source_name = genebuild_source_name.lower()
934934
base_path = f"{scientific_name}/{accession}"
935935
common_path = f"{base_path}/{genebuild_source_name}"
936936

0 commit comments

Comments
 (0)