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

Uploaded
author m-zytnicki
date Mon, 30 Sep 2013 03:19:26 -0400
parents 769e306b7933
children
comparison
equal deleted inserted replaced
45:e454402ba9d9 46:169d364ddd91
204 self._cursors = dict([type, {}] for type in TYPES) 204 self._cursors = dict([type, {}] for type in TYPES)
205 for type in TYPES: 205 for type in TYPES:
206 if self._verbosity > 2: 206 if self._verbosity > 2:
207 print "Creating %s NC-list..." % (TYPETOSTRING[type]) 207 print "Creating %s NC-list..." % (TYPETOSTRING[type])
208 self._convertedFileNames[type] = "%s_%d_%d.ncl" % (self._inputFileNames[type], self._randInt, type) 208 self._convertedFileNames[type] = "%s_%d_%d.ncl" % (self._inputFileNames[type], self._randInt, type)
209 if "SMARTTMPPATH" in os.environ:
210 self._convertedFileNames[type] = os.path.join(os.environ["SMARTTMPPATH"], self._convertedFileNames[type])
209 ncLists = ConvertToNCList(self._verbosity) 211 ncLists = ConvertToNCList(self._verbosity)
210 ncLists.setInputFileName(self._inputFileNames[type], self._inputFileFormats[type]) 212 ncLists.setInputFileName(self._inputFileNames[type], self._inputFileFormats[type])
211 ncLists.setOutputFileName(self._convertedFileNames[type]) 213 ncLists.setOutputFileName(self._convertedFileNames[type])
212 ncLists.setSorted(self._sorted) 214 ncLists.setSorted(self._sorted)
213 if type == REFERENCE and self._index: 215 if type == REFERENCE and self._index: