insert stub clean_runs function to list roughly what I think I can
authorDiane Trout <diane@caltech.edu>
Fri, 29 Aug 2008 16:51:23 +0000 (16:51 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 29 Aug 2008 16:51:23 +0000 (16:51 +0000)
delete before compressing the runfolder

gaworkflow/pipeline/runfolder.py

index b72194cce093f38945d7d55750d516bc0b66cb44..65f6191ec9879ed9f05944b77d269478d51ad22f 100644 (file)
@@ -296,4 +296,18 @@ def extract_results(runs, output_base_dir=None):
           logging.info('Saving to %s' % (dest_name, ))
           bzip.wait()
 
-      
+def clean_runs(runs):
+    """
+    Clean up run folders to optimize for compression.
+    """
+    # TODO: implement this.
+    # rm RunLog*.xml
+    # rm pipeline_*.txt
+    # rm gclog.txt
+    # rm NetCopy.log
+    # rm nfn.log
+    # rm Images/L*
+    # cd Data/C1-*_Firecrest*
+    # make clean_intermediate
+
+    pass