changeset 9:dfdaa943f855 draft

corrected created file path
author modencode-dcc
date Wed, 06 Feb 2013 21:23:05 -0500
parents 2db63ab9b129
children c57381059179
files spp_wrapper.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/spp_wrapper.py	Fri Jan 18 19:01:39 2013 -0500
+++ b/spp_wrapper.py	Wed Feb 06 21:23:05 2013 -0500
@@ -72,11 +72,11 @@
 
     chip_name = os.path.basename(options['chip_file'])
     input_name = os.path.basename(options['input_file'])
-    created_narrow_peak =  os.path.join( "/mnt/galaxyData/files/000", "%s_VS_%s.narrowPeak.gz" % (chip_name, input_name) )
+    created_narrow_peak =  os.path.join( tmp_dir, "%s_VS_%s.narrowPeak.gz" % (chip_name, input_name) )
     if os.path.exists( created_narrow_peak ):
         shutil.move( created_narrow_peak, output_narrow_peak )
  
-    created_region_peak =  os.path.join( "/mnt/galaxyData/files/000", "%s_VS_%s.regionPeak.gz" % (chip_name, input_name) )
+    created_region_peak =  os.path.join( tmp_dir, "%s_VS_%s.regionPeak.gz" % (chip_name, input_name) )
     if os.path.exists( created_region_peak ):
         shutil.move( created_region_peak, output_region_peak )