broadinstitute / wot

A software package for analyzing snapshots of developmental processes
https://broadinstitute.github.io/wot/
BSD 3-Clause "New" or "Revised" License
140 stars 34 forks source link

`wot.ot.OTModel` does not fail with random arguments #94

Open WeilerP opened 3 years ago

WeilerP commented 3 years ago

Description

Passing random arguments to wot.ot.OTModel does not fail which is unexpected (see e.g. theislab/cellrank#721), IMO. I guess the problem is that most arguments to initialize the class are passed implicitly through **kwargs instead of specifying them individually with default values. Is there a specific reason it is done this way or could it be changed?