Mercurial > repos > bimib > cobraxy
comparison COBRAxy/flux_to_map.py @ 191:21fd8e45de64 draft
Uploaded
author | francesco_lapi |
---|---|
date | Wed, 20 Nov 2024 18:01:29 +0000 |
parents | 1595c0063bad |
children | a0b00e4cc6a2 |
comparison
equal
deleted
inserted
replaced
190:1595c0063bad | 191:21fd8e45de64 |
---|---|
403 if 'r1050' in reactionId: | 403 if 'r1050' in reactionId: |
404 print(reactionId) | 404 print(reactionId) |
405 print(self.toStyleStr()) | 405 print(self.toStyleStr()) |
406 print(getArrowBodyElementId(reactionId)) | 406 print(getArrowBodyElementId(reactionId)) |
407 print(getElementById(getArrowBodyElementId(reactionId), metabMap)) | 407 print(getElementById(getArrowBodyElementId(reactionId), metabMap)) |
408 return self.applyTo(getArrowBodyElementId(reactionId), metabMap, f";stroke:{self.col};stroke-width:2;stroke-dasharray:5,5") | 408 return self.applyTo(getArrowBodyElementId(reactionId), metabMap, f";stroke:#a020f0;stroke-width:2;stroke-dasharray:5,5") |
409 return self.applyTo(getArrowBodyElementId(reactionId), metabMap, self.toStyleStr()) | 409 return self.applyTo(getArrowBodyElementId(reactionId), metabMap, self.toStyleStr()) |
410 | 410 |
411 # Now we style the arrow head(s): | 411 # Now we style the arrow head(s): |
412 idOpt1, idOpt2 = getArrowHeadElementId(reactionId) | 412 idOpt1, idOpt2 = getArrowHeadElementId(reactionId) |
413 self.applyTo(idOpt1, metabMap, self.toStyleStr(downSizedForTips = True)) | 413 self.applyTo(idOpt1, metabMap, self.toStyleStr(downSizedForTips = True)) |