Skip to content

Commit

Permalink
fix expando loop
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Nov 13, 2024
1 parent 8e5a60e commit bd70b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ ${nextflow}
* @param cf Map of config (from nextflow.config)
*/
void updateFlags(Map meta, Map cf) {
flags.each { String key, value ->
for (String key : flags.properties.keySet()) {
if (meta.containsKey(key)) {
flags.setProperty(key, meta[key])
} else if (cf.containsKey(key)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class QuiltPackage {
S3PhysicalKey key = new S3PhysicalKey(bucket, '', null)
try {
key.listRecursively()
} catch (Exception e) {
} catch (IOException e) {
log.error("isBucketAccessible: failed to check $bucket", e)
return false
}
Expand Down

0 comments on commit bd70b45

Please sign in to comment.