diff toolOptBioDes.py @ 30:0ad6fda90f41 draft default tip

planemo upload commit f74fd52b330cc7460d98121b9bb78c08ca915d1e
author pablocarb
date Thu, 29 Aug 2019 06:59:58 -0400
parents 8f42eba7e2eb
children
line wrap: on
line diff
--- a/toolOptBioDes.py	Wed Aug 07 05:13:27 2019 -0400
+++ b/toolOptBioDes.py	Thu Aug 29 06:59:58 2019 -0400
@@ -55,7 +55,7 @@
         cw.writerow( [res['data']['libsize'], res['data']['J']] )
     print( 'Size:', res['data']['libsize'], 'Efficiency:', res['data']['J'] )
 
-def partsUploadSbol( partsfile, genesfile, size, outfile, diagfile, sbolOut, server ):
+def partsUploadSbol( partsfile, genesfile, size, outfile, diagfile, sbolOut, url ):
     files = { 
         'parts': open(partsfile, 'rb' ),
         'genes': open(genesfile, 'rb')
@@ -80,8 +80,8 @@
 if __name__ == "__main__":
     parser = arguments()
     arg = parser.parse_args()
-    assert os.path.exists(arg.infile)
     if arg.sbolOut is None:
         sheetUpload( arg.infile, arg.size, arg.outfile, arg.diagfile, arg.server )
     else:
-        partsUploadSbol(  arg.partsfile, arg.genesfile, arg.size, arg.outfile, arg.diagfile, arg.sbolOut, arg.server )
+        partsUploadSbol(  arg.partsfile, arg.genesfile, arg.size,
+                          arg.outfile, arg.diagfile, arg.sbolOut, arg.server )