Skip to content

Commit a31901a

Browse files
committed
Corrected some whitespace problems
1 parent 3839e66 commit a31901a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

4Pipe4.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,21 @@
5151
plus the name you want to give your results\n",
5252
metavar="basefile")
5353
parser.add_argument("-c", dest="configFile", nargs=1,
54-
help="Provide the full path to your configuration file. If\
55-
none is provided, the program will look in the current \
54+
help="Provide the full path to your configuration file. \
55+
If none is provided, the program will look in the current \
5656
working directory and then in ~/.config/4Pipe4rc (in this\
5757
order) for one. If none is found the program will stop\n",
5858
metavar="configfile")
5959
parser.add_argument("-s", dest="run_list", nargs="?",
60-
default="1 2 3 4 5 6 7 8 9", help="Specify the numbers\
60+
default="1 2 3 4 5 6 7 8 9", help="Specify the numbers \
6161
corresponding to the pipeline steps that will be run. The \
6262
string after -s must be given inside quotation marks, and \
63-
numbers can be joined together or separated by any symbol.\
64-
The numbers are the pipeline steps that should be run. \
65-
This is an optional argument and it's omission will run \
66-
all steps by default. The numbers, from 1 to 9 represent \
67-
the following steps:\n\t1 - SFF extraction\n\t2 - \
68-
SeqClean\n\t3 - Mira\n\t4 - DiscoveryTCS\n\t5 - \
63+
numbers can be joined together or separated by any \
64+
symbol. The numbers are the pipeline steps that should be \
65+
run. This is an optional argument and it's omission will \
66+
run all steps by default. The numbers, from 1 to 9 \
67+
represent the following steps:\n\t1 - SFF extraction\n\t2 \
68+
- SeqClean\n\t3 - Mira\n\t4 - DiscoveryTCS\n\t5 - \
6969
SNP grabber\n\t6 - ORF finder\n\t7 - Blast2go\n\t8 - SSR \
7070
finder\n\t9 - 7zip the report")
7171
arg = parser.parse_args()
@@ -97,7 +97,7 @@ def StartUp():
9797
rcfile = os.path.abspath(os.path.expanduser('~/.config/4Pipe4rc'))
9898
print("No config file provided, falling back to ~/.config/4Pipe4rc")
9999
else:
100-
print("\nERROR:No config file provided nor found in the standard\
100+
print("\nERROR:No config file provided nor found in the standard \
101101
locations.\n")
102102
quit("Please run 4Pipe4.py -h for help with running the pipeline.")
103103
try:
@@ -112,7 +112,7 @@ def StartUp():
112112
def SysPrep(basefile):
113113
'''Function for prepairing the system for the pipeline.'''
114114
if os.path.isdir(basefile):
115-
print("\nThe path used for the basefile points to a directory!\
115+
print("\nThe path used for the basefile points to a directory! \
116116
Please use a file.\n")
117117
quit("Please run 4Pipe4.py -h for help with running the pipeline.")
118118
basepath = os.path.split(basefile)
@@ -136,7 +136,7 @@ def RunProgram(cli, requires_output):
136136
print(lines)
137137
program_stdout.append(lines)
138138
except:
139-
quit("\nERROR:Program not found... exiting. Check your configuration\
139+
quit("\nERROR:Program not found... exiting. Check your configuration \
140140
file.\n")
141141
if requires_output == 1:
142142
return program_stdout
@@ -164,7 +164,7 @@ def SffExtract(sff, clip):
164164
number = number + letters
165165
return number
166166
else:
167-
print("The found value seems acceptable. If this message is displayed\
167+
print("The found value seems acceptable. If this message is displayed \
168168
twice in a row you have found your min_left_clip.\n")
169169
return "OK"
170170

0 commit comments

Comments
 (0)