【问题标题】:Nextflow error in 1 process stops all other processes1 个进程中的 Nextflow 错误停止所有其他进程
【发布时间】:2018-03-09 15:28:27
【问题描述】:

当我使用 nextflow 提交作业时,其中一个进程失败,文件已损坏。显然,我可以从工作列表中删除该文件,但我不希望将来在我扩大规模时发生这种情况。默认情况下,这会停止所有其他进程 (9) 的运行,并且 nextflow 作业完成。

如何阻止这个失败的工作影响其他工作?

【问题讨论】:

    标签: linux workflow nextflow


    【解决方案1】:

    在此处 (https://www.nextflow.io/docs/latest/process.html#errorstrategy) 中进一步挖掘文档后,我找到了答案。我需要将 errorStrategy 'finish' 添加到我的流程中

    process ignoreAnyError {
        errorStrategy 'finish'
        script:
        <your command string here>
    }
    

    【讨论】:

      猜你喜欢
      • 2015-05-12
      • 2019-11-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多