title: If condition failed for unknown reasons
body: <p>I have the following Python3 code:</p>
  
  <pre><code>parts = ['g109343.t1', '3e908dc966fefe367e64dc9d98b0d3ab', '1358', 'SMART', 'SM00343', '', '600', '616', '0.36', 'T', '17-07-2019', 'IPR001878', 'Zinc finger, CCHC-type', 'GO:0003676|GO:0008270']
  trans_id=parts[0]
  db=parts[3]
  id=parts[4]
  
  start=int(parts[6])
  end=int(parts[7])
  name="Name="+parts[5]
  dbxref = "Dbxref=" + db + ':' + id
  note="Note="+db
  t=';'.join([name,dbxref,note])
  print("!!!" + parts[11])
  
  if len(parts) == 12:
      t = t + ";_Accession=" + parts[11]
  if len(parts) == 14:
      go_terms = parts[13].split('|')
      t = t + ";Ontology_term=" + ','.join(go_terms)
  
  print(t)
  </code></pre>
  
  <p>Why was not <code>if len(parts) == 12:</code> triggered and <code>_Accession</code> is missing in the final output as seen below?</p>
  
  <pre class="lang-none prettyprint-override"><code>!!!IPR001878
  Name=;Dbxref=SMART:SM00343;Note=SMART;Ontology_term=GO:0003676,GO:0008270
  </code></pre>