def run(self): self.f_list = " ".join( gs.file_caching(str(i)) for i in self.text_files) if self.zip_out: self.sh("zcat -f {f_list} | gzip > {out}") else: self.sh("zcat -f {f_list} > {out}")
def get_cached_path(self) -> str: if Path.cacheing_enabled and self.cached: return gs.file_caching(self.get_path()) else: return self.get_path()
def __str__(self): if self.cached: return gs.file_caching(self.get_path()) else: return self.get_path()
def __str__(self): if Path.cacheing_enabled and self.cached: return gs.file_caching(self.get_path()) else: return self.get_path()