diff gstf_preparation.py @ 1:a36645976342 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/gstf_preparation commit 68cf06ec77e20eaf057d77d5bea19e201c4ab27e-dirty
author earlhaminst
date Thu, 16 Mar 2017 12:41:51 -0400
parents 28879ca33b5f
children 7e11a7f4bdba
line wrap: on
line diff
--- a/gstf_preparation.py	Wed Mar 15 20:18:57 2017 -0400
+++ b/gstf_preparation.py	Thu Mar 16 12:41:51 2017 -0400
@@ -112,7 +112,7 @@
         'seq_region_name': cols[0],
         'species': species,
         'Transcript': [],
-        'display_name': gene['Name']
+        'display_name': gene.get('Name', None)
     })
     if gene['id']:
         gene_dict[gene['id']] = gene