Hi everybody, could someone please help me fix the...
# help
d
Hi everybody, could someone please help me fix these failing conda tests in this PR? Update minimap2/align versions channel to new topics format by dwells-eit · Pull Request #9752 · nf-core/modules Docker and singularity is passing and most conda tests pass. It's just 2 throwing an error which seems to be related to access to params and
java.lang.NullPointerException: Cannot invoke method getAt() on null object
. The PR is for updating to the new version topic format. My best guess of the culprit is changing
process.out.versions
to
process.out.findAll { key, val -> key.startsWith("versions_") }
But I couldn't say why that should throw an error sometimes in conda Any help would be greatly appreciated because I'm stumped
t
I have no idea, but could it be that the
eval("minimap2 --version")
in the output definition fails with Conda (but not with containers)? If that would leave the output empty, it could be seen as a "`null object`" ... I would start with making sure that this actually works (test
minimap --version
in the Conda environment, make sure the process output contains the version number, etc.). Whatever it is, it pretty much has to be a command that runs inside of a container or Conda, otherwise you wouldn't see it succeed with one and fail with the other. 🤞
d
Thanks Thomas, I have no idea what the issue was in the end but updating the branch from master has sorted it out. 👍
👍 1