Commit daec6797 authored by Mikael Salson's avatar Mikael Salson

vidjil_to_fasta.py: Don't ignore exceptions

At the moment I don't see a good reason for ignoring exceptions.
As this is not explained, I prefer removing this behaviour.
If it appears necessary to put it back, that should be clearly explained.
parent 95bde1e6
......@@ -172,10 +172,10 @@ def write_fuse_to_fasta(data, outfile, used_names, current_filename, options, me
and len(clone.d['sequence']) > 0 and clone.d.has_key('seg'):
recombination = get_recombination_type(clone)
name = recombination+spacer
try:
positions = get_vdj_positions(recombination, clone)
except:
continue
# try:
positions = get_vdj_positions(recombination, clone)
# except:
# continue
name += spacer.join(map(str, positions))+spacer
if not clone.d.has_key('name'):
name += "Anonymous"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment