@@ -116,25 +116,29 @@ def load_options_from_config_file(self):
116
116
if 'output folder' not in self .options :
117
117
print "The 'output folder' is not indicated in config file. It is set to default('output')."
118
118
self .options ['output folder' ] = "output"
119
+
120
+ self .have_alignment = False
119
121
if 'align file' in self .options :
120
122
self .have_alignment = True
123
+
124
+ self .have_token = False
121
125
if 'token file' in self .options :
122
126
self .have_token = True
127
+
128
+ self .create_out_files = True
123
129
if 'no out files' in self .options :
124
130
if self .options ['no out files' ].lower () in ['true' , 'yes' , 'ok' ]:
125
131
self .create_out_files = False
126
- else :
127
- self .create_out_files = True
132
+
133
+ self .normalize_scores = False
128
134
if 'normalize scores' in self .options :
129
135
if self .options ['normalize scores' ].lower () in ['true' , 'yes' , 'ok' ]:
130
136
self .normalize_scores = True
131
- else :
132
- self .normalize_scores = False
137
+
138
+ self .have_scores = False
133
139
if 'emit scores' in self .options :
134
140
if self .options ['emit scores' ].lower () in ['true' , 'yes' , 'ok' ]:
135
141
self .have_scores = True
136
- else :
137
- self .have_scores = False
138
142
139
143
# making the output folder
140
144
path = os .getcwd () + "/" + self .options ['output folder' ]
0 commit comments