-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PRComment_002 * PRComment_005 * PRComment_009 * PRComment_010 * PRComment_012 * PRComment_015 I might suggest logging this and the following error at the WARN or INFO level as this appears to default to a value when the input is not correct. * PRComment_016 An alternative syntax for map get is ids[key]. See https://groovy-lang.org/style-guide.html#_native_syntax_for_data_structures https://stackoverflow.com/questions/14196454/groovy-safely-find-a-key-in-a-map-and-return-its-value * PRComment_017 Typically, the fields and constructor would appear at the top of the class. These should also be camelCase. For reference: https://stackoverflow.com/a/12427127 * PRComment_018 A common naming convention for constants like this string would be upper snake case like INSTALL_PREFIX https://google.github.io/styleguide/javaguide.html#s5.2.4-constant-names * PRComment_021 > Should this be logged at the ERROR level? Not really. We can use this same codepath when creating a new package. * PRComment_027 The safe navigation operator seems unnecessary here due to the preceding !query check. * PRComment_030 I think this would be more readable to pass the closure directly * PRComment_015a, PRComment_021a .warning -> .warn * recast PRComment_010 QuiltObserverFactory.groovy: 37: [Static type checking] - Incompatible generic argument types. Cannot assign java.util.List <nextflow.quilt.QuiltObserver> to: java.util.Collection <TraceObserver> @ line 37, column 9. [new QuiltObserver()] * PRComment_031 The Groovy safe navigation operator is a nice way to express this: * PRComment_032. Groovy also has an exclusive range operator: beginIndex..<endIndex. * PRComment_033 You should be able to omit the package name here: * PRComment_036 to Groovy truthiness, empty string and null are both false * PRComment_038 @unroll is not needed here. * PRComment_040 @unroll is not needed here. * NoSuchFileException e PRComment_033, but it is non blocking.
- Loading branch information
Showing
11 changed files
with
32 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters