diff SeqSero2_package.py @ 4:c4e40de653b9

Uploaded
author estrain
date Wed, 02 Oct 2019 20:47:51 -0400
parents 676a4588abe4
children ffc351049e31
line wrap: on
line diff
--- a/SeqSero2_package.py	Wed Oct 02 20:37:03 2019 -0400
+++ b/SeqSero2_package.py	Wed Oct 02 20:47:51 2019 -0400
@@ -1264,7 +1264,7 @@
   #database="H_and_O_and_specific_genes.fasta"
   dirpath = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
   ex_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)),'seqsero2_db')) # ed_SL_09152019: add ex_dir for packaging
-  database=ex_dir+"/H_and_O_and_specific_genes.fasta" # ed_SL_09152019: change path to database for packaging
+  database=dirpath+"/seqsero2_db/H_and_O_and_specific_genes.fasta" # ed_SL_09152019: change path to database for packaging
   note="Note:"
   NA_note=" This predicted serotype is not in the Kauffman-White scheme." # ed_SL_09272019: add for new output format
   if len(sys.argv)==1: