def __create_input(self, main_root):
		content = self.__manager.load_content()
		input_dir = os.path.join(main_root,'input')
		try:
			content.get(self.__task.data['id'], 'input', os.path.join(main_root, 'input'))
		except:
			safe_mkdir(input_dir)
def inc_r(self, ind):
        r, c = self.row_col(ind)
        r += 1
        if r == self.nr:
            r = 0
        if r == (self.nr - 1) and c == (self.nc - 1):
            r = 0
        return self.indx(r, c)