Skip to content

Commit

Permalink
Fixed nf-test
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Oct 9, 2024
1 parent 717fbf2 commit 559266e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hicparam/hicparam.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import groovy.json.JsonSlurper
def checkHiCParam(paramValue, schema) {
def jsonSlurper = new JsonSlurper()
def jsonContent = jsonSlurper.parse ( file ( schema, checkIfExists: true ) )
def pattern = jsonContent.definitions.hic_options.properties.hic.pattern
def pattern = jsonContent['$defs'].hic_options.properties.hic.pattern
def match = paramValue ==~ pattern

return match
Expand Down

0 comments on commit 559266e

Please sign in to comment.