예제 #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}")
예제 #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()
예제 #3
0
 def __str__(self):
     if self.cached:
         return gs.file_caching(self.get_path())
     else:
         return self.get_path()
예제 #4
0
파일: job_path.py 프로젝트: mkitza/sisyphus
 def __str__(self):
     if Path.cacheing_enabled and self.cached:
         return gs.file_caching(self.get_path())
     else:
         return self.get_path()