def run(self, args):
        ctx = Context(is_client=True, local_mode=True)
        
        project_name = args.project[0]
        if project_name in ' ':
            self.logger.error('project name cannot contain whitespace')
        
        current_dir = os.getcwd()
        project_dir = os.path.join(current_dir, project_name)
        if not os.path.exists(project_dir):
            os.makedirs(project_dir)
        
        for filename, src_filename in (('%s.yaml'%project_name, 'project.yaml.tmpl'), 
                                       ('__init__.py', 'project.py.tmpl')):
            full_filename = os.path.join(project_dir, filename)
            full_temp_filename = os.path.join(ctx.get_cola_dir(), 'templates', src_filename)
            with open(full_temp_filename) as temp_fp:
                with open(full_filename, 'w') as fp:
                    content = self._replace_variable(temp_fp.read(), {'name': project_name})
                    fp.write(content)
                    
        self.logger.info('create project: %s' % project_name)
dataset/ETHPy150Open chineking/cola/cola/commands/startproject.py/StartProjectCommand.run/swapped operands of `in`