File tree Expand file tree Collapse file tree 6 files changed +24
-12
lines changed
Expand file tree Collapse file tree 6 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def main():
1313
1414 parser = argparse .ArgumentParser (
1515 description = desc ,
16- epilog = "Ex. usage: `bit-dl-ncbi-assemblies -w wanted-accessions.txt -f fasta -j 4 `" ,
16+ epilog = "Ex. usage: `bit-dl-ncbi-assemblies -w wanted-accessions.txt`" ,
1717 formatter_class = CustomRichHelpFormatter ,
1818 add_help = False
1919 )
@@ -25,7 +25,7 @@ def main():
2525 "-w" ,
2626 "--wanted-accessions" ,
2727 metavar = "<FILE>" ,
28- help = 'Input file with wanted accessions' ,
28+ help = 'Input file with wanted accessions, one per line ' ,
2929 required = True ,
3030 )
3131
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -62,13 +62,12 @@ def pytest_sessionstart(session):
6262 print (" ================================= Progress on modularizing scripts =================================" )
6363 print (" ====================================================================================================\n " )
6464
65- print (f" Total script files: { len (script_files )} \n " )
65+ print (f" Base script files remaining : { len (script_files )} \n " )
6666 print (f" Total helper scripts: { len (helper_scripts )} " )
6767 print (f" Total bash scripts: { len (bash_scripts )} " )
6868 print (f" Total python scripts: { len (python_scripts )} " )
6969 print (f" Python scripts modularized: { len (modularized )} " )
7070 print (f" Python scripts not yet modularized: { len (not_modularized )} \n " )
71- print (f" Percent of python modularized: { round (len (modularized ) / len (python_scripts ) * 100 , 2 )} %\n " )
7271
7372 if not_modularized :
7473 print (" Files not yet modularized:\n " )
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ if [ "${CONDA_DEFAULT_ENV}" != "bit-dev" ]; then
88 exit 1
99fi
1010
11- pip install -e .
11+ rm -rf build/ bit.egg-info/
12+
13+ pip install --no-build-isolation -e .
1214
1315BIN_DIR=$( dirname $( which python) )
1416
Original file line number Diff line number Diff line change @@ -20,5 +20,16 @@ include-package-data = true
2020bit = [" tests/data/*" , " smk/*.smk" , " smk/envs/*" ]
2121
2222[project .scripts ]
23+ # # ncbi-related ##
24+ bit-dl-ncbi-assemblies = " bit.cli.dl_ncbi_assemblies:main"
2325get-ncbi-assembly-tables = " bit.modules.ncbi.get_ncbi_assembly_tables:main"
2426get-ncbi-tax-data = " bit.modules.ncbi.get_ncbi_tax_data:main"
27+
28+
29+ # # gtdb-related ##
30+
31+
32+ # # coverage / mapping ##
33+
34+
35+ # # sequence utilities ##
Original file line number Diff line number Diff line change 11from setuptools import setup
22import glob
33
4+ # scripts ported to pyproject.toml [project.scripts] entry points
5+ # exclude them from the glob so they don't conflict
6+ ported = {
7+ "bit/scripts/bit-dl-ncbi-assemblies" ,
8+ }
9+
410setup (
5- scripts = glob .glob ("bit/scripts/*" )
11+ scripts = [ s for s in glob .glob ("bit/scripts/*" ) if s not in ported ]
612)
You can’t perform that action at this time.
0 commit comments