Skip to content
Browse files

PEP8 style formatting

  • Loading branch information...
1 parent 399bb64 commit a42db540edbd77bda291cc5a723011499e89dbf0 @peterjc peterjc committed Nov 20, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 Tests/test_Clustalw_tool.py
View
7 Tests/test_Clustalw_tool.py
@@ -20,7 +20,7 @@
os.environ['LANG'] = 'C'
clustalw_exe = None
-if sys.platform=="win32":
+if sys.platform == "win32":
#TODO - Check the path?
try:
#This can vary depending on the Windows language.
@@ -42,7 +42,7 @@
#clustalw1.83 installer which uses the following long location:
#C:\Program Files\CTCBioApps\clustalw\v1.83\clustalw1.83.exe
likely_dirs = ["ClustalW2", "",
- "Clustal","Clustalw","Clustalw183","Clustalw1.83",
+ "Clustal", "Clustalw", "Clustalw183", "Clustalw1.83",
r"CTCBioApps\clustalw\v1.83"]
likely_exes = ["clustalw2.exe",
"clustalw.exe", "clustalw1.83.exe"]
@@ -52,7 +52,8 @@
if os.path.isfile(os.path.join(prog_files, folder, filename)):
clustalw_exe = os.path.join(prog_files, folder, filename)
break
- if clustalw_exe : break
+ if clustalw_exe:
+ break
else:
import commands
#Note that clustalw 1.83 and clustalw 2.0.10 don't obey the --version

0 comments on commit a42db54

Please sign in to comment.
Something went wrong with that request. Please try again.