def terminated(self): """Copy output file to main directory""" try: copyfile(os.path.join(self.output_dir, self.output_file), self.input_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s" % (os.path.join( self.output_dir, self.output_file), self.input_dir))
def terminated(self): """Copy colorized image to the output dir""" try: copyfile(os.path.join(self.output_dir, self.output_file), self.working_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s." % (os.path.join( self.output_dir, self.output_file), self.working_dir))
def terminated(self): """Move grayscale image to the main output dir""" try: copyfile(os.path.join(self.output_dir, self.grayscaled_image), self.warhol_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s" % (os.path.join( self.output_dir, self.grayscaled_image), self.warhol_dir))
def terminated(self): """Copy output file to main directory""" try: copyfile(os.path.join(self.output_dir, self.output_file), self.input_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s" % (os.path.join(self.output_dir, self.output_file), self.input_dir) )
def terminated(self): """Copy colorized image to the output dir""" try: copyfile(os.path.join(self.output_dir, self.output_file), self.working_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s." % (os.path.join(self.output_dir, self.output_file), self.working_dir) )
def terminated(self): """Move grayscale image to the main output dir""" try: copyfile(os.path.join(self.output_dir, self.grayscaled_image), self.warhol_dir) except: gc3libs.log.warning( "Ignoring error copying file %s to %s" % (os.path.join(self.output_dir, self.grayscaled_image), self.warhol_dir) )