Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Jul 21, 2023
1 parent cdbd00c commit fcbddf5
Show file tree
Hide file tree
Showing 13 changed files with 293 additions and 295 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package nextflow.cli
import groovy.transform.CompileStatic

/**
* Interface for command line options related to interacting with
* Defines the command line options for interacting with
* a git registry (GitHub, BitBucket, etc)
*
* @author Paolo Di Tommaso <[email protected]>
Expand Down
10 changes: 5 additions & 5 deletions modules/nextflow/src/main/groovy/nextflow/cli/LogImpl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -135,19 +135,19 @@ class LogImpl implements CacheBase {
//
// initialize the template engine
//
def templateStr1
def templateStr0
if( !templateStr ) {
String fields1 = fields ?: DEFAULT_FIELDS
templateStr1 = fields1
String fields0 = fields ?: DEFAULT_FIELDS
templateStr0 = fields0
.tokenize(', \n')
.collect { '$'+it }
.join(separator)
}
else if( new File(templateStr).exists() ) {
templateStr1 = new File(templateStr).text
templateStr0 = new File(templateStr).text
}

templateScript = new TaskTemplateEngine().createTemplate(templateStr1)
templateScript = new TaskTemplateEngine().createTemplate(templateStr0)
}

/**
Expand Down
2 changes: 2 additions & 0 deletions modules/nextflow/src/main/groovy/nextflow/cli/NodeImpl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class NodeImpl {
launchDaemon(provider)
}


/**
* Launch the daemon service
*
Expand All @@ -78,6 +79,7 @@ class NodeImpl {
instance = loadDaemonFirst()
}


// launch it
instance.launch(config)
}
Expand Down
Loading

0 comments on commit fcbddf5

Please sign in to comment.