Skip to content

Commit 40882d3

Browse files
committed
minor update - gene-tree distribution required files
1 parent 3e06164 commit 40882d3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ngsphy/settings.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class Settings:
147147
threads=1
148148
executionMode=1
149149

150-
151150
__NUCLEOTIDES=["A","C","G","T"]
152151
def __init__(self,filename):
153152
# If I've got this far, then filename is a correct file
@@ -960,21 +959,18 @@ def checkSimPhyProjectValid(self):
960959
"""
961960
message=""
962961
# List all the things in the project directory
963-
fileList=os.listdir(os.path.join(self.basepath,self.projectName))
962+
fileList=os.listdir(os.path.join(self.basepath))
964963
for index in range(0,len(fileList)):
965-
fileList[index]=os.path.abspath(os.path.join(self.basepath,self.projectName,fileList[index]))
964+
fileList[index]=os.path.abspath(os.path.join(self.basepath,fileList[index]))
966965

967966
command = os.path.join(\
968967
self.basepath,\
969-
self.projectName,\
970968
"{0}.command".format(self.projectName))
971969
params = os.path.join(\
972970
self.basepath,\
973-
self.projectName,\
974971
"{0}.params".format(self.projectName))
975972
db = os.path.join(\
976973
self.basepath,\
977-
self.projectName,\
978974
"{0}.db".format(self.projectName))
979975

980976
self.appLogger.debug("SimPhy files (command, params, db)")

0 commit comments

Comments
 (0)