diff jbrowse.py @ 21:1c718d8b3532 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 9cac72c004cc7ef57be997e2fdafb3b1839a300f
author iuc
date Tue, 11 Sep 2018 07:11:44 -0400
parents 558d652cd681
children 5f70e7fe6077
line wrap: on
line diff
--- a/jbrowse.py	Thu Aug 30 11:43:59 2018 -0400
+++ b/jbrowse.py	Tue Sep 11 07:11:44 2018 -0400
@@ -572,7 +572,9 @@
 
         if 'match' in gffOpts:
             config['glyph'] = 'JBrowse/View/FeatureGlyph/Segments'
-            cmd += ['--type', gffOpts['match']]
+            if bool(gffOpts['match']):
+                # Can be empty for CanvasFeatures = will take all by default
+                cmd += ['--type', gffOpts['match']]
 
         cmd += ['--clientConfig', json.dumps(clientConfig),
                 ]