Fix(pipeline): prevent nested zip packaging and update CRISPR dependencies
- Add filter to skip .zip and .tar.gz files when creating result archive - Update CRISPR feature with CASFinder dependencies (hmmer, blast, vmatch, etc.) - Add install-casfinder task for macsydata installation - Remove obsolete CRISPR test files Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -160,6 +160,10 @@ def run_bttoxin_analysis(
|
||||
if file_path == zip_path:
|
||||
continue
|
||||
|
||||
# 防止嵌套打包:忽略可能存在的 zip 或 tar.gz 文件
|
||||
if file.endswith('.zip') or file.endswith('.tar.gz'):
|
||||
continue
|
||||
|
||||
# 计算相对路径,例如 digger/Results/foo.txt -> Results/foo.txt
|
||||
rel_path = file_path.relative_to(src_path)
|
||||
# 构造新的归档路径 -> 1_Toxin_Mining/Results/foo.txt
|
||||
|
||||
Reference in New Issue
Block a user