def load_building_names(self, root_directory): dirs = get_immediate_subdirectories(root_directory) pattern = re.compile('home[A-Z].*') dirs = [dir for dir in dirs if pattern.match(dir)] dirs.sort() return dirs
def load_building_names(self, root_directory): dirs = get_immediate_subdirectories( os.path.join(root_directory, "1_min")) return dirs
def load_building_names(self, root_directory): dirs = get_immediate_subdirectories(root_directory) pattern = re.compile('house_[0-9]*') dirs = [dir for dir in dirs if pattern.match(dir)] dirs.sort() return dirs
def load_building_names(self, root_directory): dirs = get_immediate_subdirectories(os.path.join(root_directory, "1_min")) return dirs