Remove a function from the inifile version of ucsc_gather
authorDiane Trout <diane@caltech.edu>
Mon, 26 Mar 2012 22:21:06 +0000 (15:21 -0700)
committerDiane Trout <diane@caltech.edu>
Mon, 26 Mar 2012 22:21:06 +0000 (15:21 -0700)
encode_submission/ucsc_gather.py

index 94ab220af2ec4c17f3d5f76366d61523407b5321..d8c30039c70028e770c890ce343f4a8aa460a6bf 100644 (file)
@@ -425,18 +425,6 @@ def get_library_info(host, apidata, library_id):
     return contents
 
 
-def make_submission_section(line_counter, files, attributes):
-    """
-    Create a section in the submission ini file
-    """
-    inifile = [ "[line%s]" % (line_counter,) ]
-    inifile += ["files=%s" % (",".join(files))]
-
-    for k,v in attributes.items():
-        inifile += ["%s=%s" % (k,v)]
-    return inifile
-
-
 def make_base_name(pathname):
     base = os.path.basename(pathname)
     name, ext = os.path.splitext(base)