File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def create_stylized_sequence(peptide_sequence):
225
225
new_string += nucleotide .nucleotide
226
226
else :
227
227
new_string += nucleotide .nucleotide
228
- return (new_string )
228
+ return (new_string )
229
229
230
230
def main ():
231
231
args = parse_arguments ()
@@ -324,14 +324,12 @@ def main():
324
324
print ("ClassI: " , classI_peptide )
325
325
print ("ClassII: " , classII_peptide , "\n " )
326
326
327
- modified_html = peptides_51mer_soup .prettify (formatter = None )
328
327
329
- soup = BeautifulSoup (modified_html , 'html.parser' )
330
- tag_with_search_string = soup .select_one ('th:-soup-contains("51mer ID")' )
328
+ tag_with_search_string = peptides_51mer_soup .select_one ('th:-soup-contains("51mer ID")' )
331
329
if tag_with_search_string :
332
330
tag_with_search_string .decompose ()
333
331
# Now 'soup' contains the modified HTML with the tag removed
334
- modified_html = soup .prettify (formatter = None )
332
+ modified_html = peptides_51mer_soup .prettify (formatter = None )
335
333
336
334
if args .WB :
337
335
html_file_name = args .WB + '/../manual_review/' + args .samp + ".Colored_Peptides.html"
You can’t perform that action at this time.
0 commit comments