Mercurial > repos > gga > apollo_create_or_update
changeset 3:c1d7a2a21e62 draft
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 079b759c21c00200544a6d8d5521617dce8ca70d
author | gga |
---|---|
date | Wed, 20 Sep 2017 09:42:49 -0400 |
parents | aac9ef1f72e7 |
children | aee984715db1 |
files | create_or_update_organism.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/create_or_update_organism.py Wed Sep 20 09:08:40 2017 -0400 +++ b/create_or_update_organism.py Wed Sep 20 09:42:49 2017 -0400 @@ -44,7 +44,7 @@ if org: has_perms = False - old_directory = org.directory + old_directory = org['directory'] for user_owned_organism in gx_user.organismPermissions: if 'WRITE' in user_owned_organism['permissions']: has_perms = True @@ -65,7 +65,7 @@ public=args.public ) time.sleep(2) - if(args.remove_old_directory): + if args.remove_old_directory and args.jbrowse != old_directory: shutil.rmtree(old_directory) data = [wa.organisms.findOrganismById(org['id'])]