def get_root_directory(self, timestamp=None):
if timestamp is None: timestamp = self.timestamp<EOL>if self.timestamp_format is not None:<EOL><INDENT>root_name =  (time.strftime(self.timestamp_format, timestamp)<EOL>+ '<STR_LIT:->' + self.batch_name)<EOL><DEDENT>else:<EOL><INDENT>root_name = self.batch_name<EOL><DEDENT>path = os.path.join(self.output_directory,<EOL>*(self.subdir+[root_name]))<EOL>return os.path.abspath(path)<EOL>
A helper method that supplies the root directory name given a
timestamp.