Skip to content

Commit

Permalink
clean import
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy committed Sep 20, 2024
1 parent bd592d0 commit cd30d15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ppanggolin/formats/writeSequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import logging
import re
from pathlib import Path
from typing import Dict, Set, Iterable, Union
from typing import Dict, Iterable, Union
import tempfile
import shutil

Expand All @@ -14,12 +14,11 @@

# local libraries
from ppanggolin.pangenome import Pangenome
from ppanggolin.geneFamily import GeneFamily
from ppanggolin.genome import Gene, Organism

from ppanggolin.utils import (write_compressed_or_not, mk_outdir, create_tmpdir, read_compressed_or_not,
restricted_float, detect_filetype, run_subprocess)
from ppanggolin.formats.readBinaries import check_pangenome_info, write_gene_sequences_from_pangenome_file, write_genes_from_pangenome_file, write_fasta_gene_fam_from_pangenome_file, write_fasta_prot_fam_from_pangenome_file
from ppanggolin.formats.readBinaries import check_pangenome_info, write_genes_from_pangenome_file, write_fasta_gene_fam_from_pangenome_file, write_fasta_prot_fam_from_pangenome_file

module_regex = re.compile(r'^module_\d+') # \d == [0-9]
poss_values = ['all', 'persistent', 'shell', 'cloud', 'rgp', 'softcore', 'core', module_regex]
Expand Down

0 comments on commit cd30d15

Please sign in to comment.