removed assertion to raise valueError if both parameters are None

see https://github.com/SciLifeLab/scilifelab/pull/455/files#r21090055