展开

nextflow scm源码

最后发布时间 : 2023-10-30 17:31:51 浏览量 :

nextflow可以使用(source code management, SCM)管理源代码。SCM的详细配置见这里

scm的使用方法如下:

nextflow clone https://gitee.com/bioproj/nf-hello
nextflow pull https://gitee.com/bioproj/nf-hello

执行入口nextflow.cli.CmdPull

log.info "Checking $it ..."
// nextflow 拉去代码
def manager = new AssetManager(it, this)

def result = manager.download(revision)
manager.updateModules()

def scriptFile = manager.getScriptFile()
String message = !result ? " done" : " $result"
message += " - revision: ${scriptFile.revisionInfo}"
log.info message