comparison TAXID_genusexpand_taxid2acc.py @ 15:932ba9e04f3a draft

fix error line 160
author p.lucas
date Thu, 28 Sep 2023 13:55:56 +0000
parents 19e175a84d0e
children 992af66092f7
comparison
equal deleted inserted replaced
14:cc6f431bf992 15:932ba9e04f3a
155 ncbi_tax_f = os.path.abspath(args.ncbi_tax_f) 155 ncbi_tax_f = os.path.abspath(args.ncbi_tax_f)
156 else: 156 else:
157 # ncbi_tax_f = "/nfs/data/db/ete3/taxa.sqlite" 157 # ncbi_tax_f = "/nfs/data/db/ete3/taxa.sqlite"
158 ncbi_tax_f = os.path.expanduser("~/.etetoolkit/taxa.sqlite") 158 ncbi_tax_f = os.path.expanduser("~/.etetoolkit/taxa.sqlite")
159 if args.taxid_acc_in_f is not None: 159 if args.taxid_acc_in_f is not None:
160 taxid_acc_in_f = os.path.abspath(args.taxid_acc_f) 160 taxid_acc_in_f = os.path.abspath(args.taxid_acc_in_f)
161 b_acc_in_f = True 161 b_acc_in_f = True
162 elif(not b_test): 162 elif(not b_test):
163 sys.exit("[Error] You must provide taxid_acc_in_f") 163 sys.exit("[Error] You must provide taxid_acc_in_f")
164 if args.acc_out_f is not None: 164 if args.acc_out_f is not None:
165 acc_out_f = os.path.abspath(args.acc_out_f) 165 acc_out_f = os.path.abspath(args.acc_out_f)