Skip to content

Specifying fields with Nextflow log command #3896

Answered by bentsherman
georgiesamaha asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like there are a few special cases as shown here:

@Override
Object get(Object key) {
if( delegate.containsKey(key) ) {
return delegate.get(key)
}
if( key == 'stdout' ) {
return fetch(getWorkDir().resolve(TaskRun.CMD_OUTFILE))
}
if( key == 'stderr' ) {
return fetch(getWorkDir().resolve(TaskRun.CMD_ERRFILE))
}
if( key == 'log' ) {
return fetch(getWorkDir().resolve(TaskRun.CMD_LOG))
}
if( key == 'pcpu' )
return record.getFmtStr('%cpu')
if( key == 'pmem' )
return record.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bentsherman
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3893 on April 24, 2023 02:28.