Skip to content

Commit

Permalink
color are now hex colors (#403)
Browse files Browse the repository at this point in the history
* writeSBML: channel's annotation is cleaned up and channel's are written in MMenz form,readSBML:Enzyme-cplx  connection of reactant/product's are done based on stoichiometry number and reading back channel from MMenz, connected input pool with msg as 'in' and output pool msg as 'out'

* rgba color converted to hex color

Co-authored-by: HarshaRani <hrani@ncbs.res.in>
  • Loading branch information
hrani and HarshaRani authored Apr 6, 2020
1 parent d845fec commit 0ee20b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/moose/chemUtil/chemConnectUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def colorCheck(fc_bgcolor):
hexlist ="#"
for n in fc_bgcolor:
if c < 3:
#hexlist = hexlist+str("%02x" % int(n))
hexlist = hexlist+str("%02x" % int(n))
c = c+1;
fc_bgcolor = hexlist
return(fc_bgcolor)
Expand Down

0 comments on commit 0ee20b3

Please sign in to comment.