adelhpour / SBMLNetwork

SBMLNetwork is a library designed to enable software developers and systems biologists to interact with the graphical representation of SBML (Systems Biology Markup Language) models.
MIT License
0 stars 2 forks source link

No error if illegal color passed to setBackgroundColor() #85

Closed hsauro closed 1 month ago

hsauro commented 1 month ago

No error if an illegal color name is passed to sb.setBackgroundColor(color)

eg

sb.setBackgroundColor('uw')

hsauro commented 1 month ago

ok I see that it returns a value -1 if the color is bad.