SunnyXu / SBMLDiagrams

MIT License
5 stars 1 forks source link

No error message if passing wrong type #67

Closed hsauro closed 2 years ago

hsauro commented 2 years ago

I noticed the following, if I type:

la.setNodePosition ('ATP', "xxxxx")

there is no error message stating that 'xxxxx' should be a list (or a Point())

SunnyXu commented 2 years ago

fixed. pls note that there are illustration of the type for each value in the documentation, and I have added type warnings for all the complicated input.