Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled committed Nov 21, 2023
1 parent eb6498a commit bf3826f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ngs_tools/fasta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def split_genomic_fasta_to_cdna(
for gene_id, gene_attributes in gene_infos.items():
if gene_attributes['chromosome'] == entry.name:
_gene_infos[gene_id] = gene_attributes
all_transcripts = gene_attributes['transcripts']
all_transcripts.sort()
all_transcripts = sorted(gene_attributes['transcripts'])
_transcript_infos.update({
transcript_id: transcript_infos[transcript_id]
for transcript_id in all_transcripts
Expand Down Expand Up @@ -109,8 +108,7 @@ def split_genomic_fasta_to_intron(
for gene_id, gene_attributes in gene_infos.items():
if gene_attributes['chromosome'] == entry.name:
_gene_infos[gene_id] = gene_attributes
all_transcripts = gene_attributes['transcripts']
all_transcripts.sort()
all_transcripts = sorted(gene_attributes['transcripts'])
_transcript_infos.update({
transcript_id: transcript_infos[transcript_id]
for transcript_id in all_transcripts
Expand Down

0 comments on commit bf3826f

Please sign in to comment.