diff list_organisms.py @ 5:7610987e0c48 draft

planemo upload for repository https://github.com/TAMU-CPT/galaxy-webapollo commit 29795b77c0d5c7894219b018a92c5ee7818096c3
author eric-rasche
date Wed, 01 Mar 2017 22:39:58 -0500
parents d4ae83dedb14
children f9a6e151b3b4
line wrap: on
line diff
--- a/list_organisms.py	Thu Jan 12 11:53:44 2017 -0500
+++ b/list_organisms.py	Wed Mar 01 22:39:58 2017 -0500
@@ -4,7 +4,7 @@
 from webapollo import WAAuth, WebApolloInstance, AssertUser, accessible_organisms
 
 if __name__ == '__main__':
-    parser = argparse.ArgumentParser(description='Sample script to add an attribute to a feature via web services')
+    parser = argparse.ArgumentParser(description='List all organisms available in an Apollo instance')
     WAAuth(parser)
     parser.add_argument('email', help='User Email')
     args = parser.parse_args()
@@ -16,4 +16,4 @@
 
     orgs = accessible_organisms(gx_user, all_orgs)
 
-    print json.dumps(orgs, indent=2)
+    print(json.dumps(orgs, indent=2))