You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the other for loops in utils_nfcore_pipeline can be addressed in a similar way.
The one in checkCondaChannels() is a bit trickier because it's not just iterating through a list:
def n = required_channels_in_order.size()
for (int i =0; i < n -1; i++) {
channel_priority_violation |=!(channels.indexOf(required_channels_in_order[i]) < channels.indexOf(required_channels_in_order[i+1]))
}
I believe the intent is to make sure that the required channels are in the right order while also allowing other channels to be in the list. Here is a "groovier" 😉 way to do it:
for
andwhile
loops will not be supported in the strict parser that is on the way. Looks like #3166 addresses one of them, here are a few more.In
workflowCitation()
:I believe the other for loops in
utils_nfcore_pipeline
can be addressed in a similar way.The one in
checkCondaChannels()
is a bit trickier because it's not just iterating through a list:I believe the intent is to make sure that the required channels are in the right order while also allowing other channels to be in the list. Here is a "groovier" 😉 way to do it:
The text was updated successfully, but these errors were encountered: