(self,chunk=100)
| 110 | |
| 111 | # to save memory and process time, we load the chunked paths of the granularity that we expect to read from later |
| 112 | def load_chunked_paths(self,chunk=100): |
| 113 | if chunk==100: |
| 114 | self.chunked_100_strands_files = [os.path.join(self.path_chunk_100, f) for f in listdir(self.path_chunk_100)] |
| 115 | elif chunk==1000: |
| 116 | self.chunked_1000_strands_files = [os.path.join(self.path_chunk_1000, f) for f in listdir(self.path_chunk_1000)] |
| 117 | else: |
| 118 | print('please check chunk value') |
| 119 | exit() |
| 120 | |
| 121 | |
| 122 |