Esempio n. 1
0
 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}")
Esempio n. 2
0
 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()
Esempio n. 3
0
 def __str__(self):
     if self.cached:
         return gs.file_caching(self.get_path())
     else:
         return self.get_path()
Esempio n. 4
0
 def __str__(self):
     if Path.cacheing_enabled and self.cached:
         return gs.file_caching(self.get_path())
     else:
         return self.get_path()