Skip to content

Commit

Permalink
Minor cleanup [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jan 3, 2025
1 parent 1b0d452 commit e44f5ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions modules/nextflow/src/main/groovy/nextflow/dag/DAG.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class DAG {
void addOperatorNode( String label, inputs, outputs, List<DataflowProcessor> operators=null ) {
assert label
assert inputs
addVertex(Type.OPERATOR, label, normalizeChannels(inputs), normalizeChannels(outputs), operators )
addVertex( Type.OPERATOR, label, normalizeChannels(inputs), normalizeChannels(outputs), operators )
}

/**
Expand All @@ -125,7 +125,7 @@ class DAG {
void addSourceNode( String label, source ) {
assert label
assert source
addVertex(Type.ORIGIN, label, null, normalizeChannels(source) )
addVertex( Type.ORIGIN, label, null, normalizeChannels(source) )
}

/**
Expand Down Expand Up @@ -158,7 +158,7 @@ class DAG {
* @return A {@link Vertex} object
*/
@PackageScope
Vertex createVertex( Type type, String label, extra=null ) {
Vertex createVertex( Type type, String label, Object extra=null ) {
def result = new Vertex(type, label)
if( extra instanceof TaskProcessor ) {
result.process = extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,4 @@ class TaskId extends Number implements Comparable, Serializable, Cloneable {
// return Long.toString(toUnsignedLong(i));
// }



}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class TaskStartParams {
}

String toString() {
"id=$id; index=$index"
"TaskStartParams[id=$id; index=$index]"
}

}

0 comments on commit e44f5ec

Please sign in to comment.