From 9f426926a0db8229cb735725cb4d41959d24890d Mon Sep 17 00:00:00 2001 From: Alex Rubinsteyn Date: Wed, 14 Sep 2016 18:07:47 -0400 Subject: [PATCH] always use self.species after normalization --- pyensembl/ensembl_release.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyensembl/ensembl_release.py b/pyensembl/ensembl_release.py index 35bd985..20a8967 100644 --- a/pyensembl/ensembl_release.py +++ b/pyensembl/ensembl_release.py @@ -74,13 +74,12 @@ def __init__( server=ENSEMBL_FTP_SERVER): self.release, self.species, self.server = self.normalize_init_values( release=release, species=species, server=server) - self.species = species - self.server = server self.gtf_url = make_gtf_url( ensembl_release=self.release, - species=species, - server=server) + species=self.species, + server=self.server) + self.transcript_fasta_url = make_fasta_url( ensembl_release=self.release, species=self.species.latin_name, @@ -90,7 +89,7 @@ def __init__( ensembl_release=self.release, species=self.species.latin_name, sequence_type="pep", - server=server) + server=self.server) self.reference_name = self.species.which_reference(self.release)