diff webapollo.py @ 6:ce590fe02ba4 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit d9f27b297d9a919471c92b02ecf6cc9554457211
author gga
date Tue, 30 Oct 2018 04:28:16 -0400
parents a3000d01c04c
children bc2b80fc7e30
line wrap: on
line diff
--- a/webapollo.py	Fri Aug 31 09:34:31 2018 -0400
+++ b/webapollo.py	Tue Oct 30 04:28:16 2018 -0400
@@ -1544,10 +1544,7 @@
     permissionMap = {
         x['organism']: x['permissions']
         for x in user.organismPermissions
-        if 'WRITE' in x['permissions'] or
-        'READ' in x['permissions'] or
-        'ADMINISTRATE' in x['permissions'] or
-        user.role == 'ADMIN'
+        if 'WRITE' in x['permissions'] or 'READ' in x['permissions'] or 'ADMINISTRATE' in x['permissions'] or user.role == 'ADMIN'
     }
 
     if 'error' in orgs: