Пример #1
0
 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
Пример #2
0
 def load_building_names(self, root_directory):
     dirs = get_immediate_subdirectories(
         os.path.join(root_directory, "1_min"))
     return dirs
Пример #3
0
 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
Пример #4
0
 def load_building_names(self, root_directory):
     dirs = get_immediate_subdirectories(os.path.join(root_directory,
                                                     "1_min"))
     return dirs