(self, hairstyle_path)
| 88 | |
| 89 | class HairStylePathData(): |
| 90 | def __init__(self, hairstyle_path): |
| 91 | self.hairstyle_path=hairstyle_path |
| 92 | |
| 93 | #check the chunked versions |
| 94 | #for full_strands |
| 95 | # path_chunk_10 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_10") |
| 96 | self.path_chunk_100 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_100") |
| 97 | self.path_chunk_1000 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_1000") |
| 98 | # self.chunked_10_strands_files = [os.path.join(path_chunk_10, f) for f in listdir(path_chunk_10)] |
| 99 | # self.chunked_100_strands_files = [os.path.join(path_chunk_100, f) for f in listdir(path_chunk_100)] |
| 100 | # self.chunked_1000_strands_files = [os.path.join(path_chunk_1000, f) for f in listdir(path_chunk_1000)] |
| 101 | |
| 102 | # check if we even have the chunked data required |
| 103 | def can_load_chunked_paths(self,chunk=100): |
nothing calls this directly
no outgoing calls
no test coverage detected