diff SMART/Java/Python/CompareOverlapping.py @ 46:169d364ddd91

Uploaded
author m-zytnicki
date Mon, 30 Sep 2013 03:19:26 -0400
parents 769e306b7933
children
line wrap: on
line diff
--- a/SMART/Java/Python/CompareOverlapping.py	Wed Sep 18 08:51:22 2013 -0400
+++ b/SMART/Java/Python/CompareOverlapping.py	Mon Sep 30 03:19:26 2013 -0400
@@ -206,6 +206,8 @@
 			if self._verbosity > 2:
 				print "Creating %s NC-list..." % (TYPETOSTRING[type])
 			self._convertedFileNames[type] = "%s_%d_%d.ncl" % (self._inputFileNames[type], self._randInt, type)
+			if "SMARTTMPPATH" in os.environ:
+				self._convertedFileNames[type] = os.path.join(os.environ["SMARTTMPPATH"], self._convertedFileNames[type])
 			ncLists = ConvertToNCList(self._verbosity)
 			ncLists.setInputFileName(self._inputFileNames[type], self._inputFileFormats[type])
 			ncLists.setOutputFileName(self._convertedFileNames[type])