Skip to content

Input validation checks fail on TSV when object null() #723

@jfy133

Description

@jfy133

Check Documentation

I have checked the following places for your error:

Description of the bug

A user forgot to add NA in the their BAM column, and the TSV file also didn't use quote wrapping. The current input validation only checks ifEmpty() which doesn't seem to work on null() objects.

Steps to reproduce

Make input TSV with empty cell instead of NA.

Should result in

Cannot invoke method isEmpty() on null object

error.

Expected behaviour

The validation check should also die when null() object, and give informative error message.

Additional context

https://stackoverflow.com/questions/25039270/how-to-groovy-ify-a-null-check

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpendingAddressed on branch waiting for related PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions