Artifact fcf7f64a421f8df595f909296b69f45b74473df03fc1a271ba5feaf7cf2c4e6f:
- Executable file mtt/bin/trans/cbg2pcbg — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 507) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/cbg2pcbg — part of check-in [0d3c58cce8] at 2013-07-19 05:30:25 on branch origin/master — Converts cbg fig file to one with marked paths (user: gawthrop@users.sourceforge.net, size: 507) [annotate] [blame] [check-ins using]
#! /bin/bash
## Colour the reactions in the path
## Colours
blue=1
green=2
cyan=3
red=4
magenta=5
yellow=6
colour=$magenta
## Fonts
Times_Bold_Italic=3
Helvetica_Bold_Oblique=19
Helvetica_Narrow_Bold_Oblique=23
font=${Helvetica_Bold_Oblique}
sys=$1
path="$2"
cp ${sys}_cbg.fig tmp.fig
for p in $path; do
##echo doing $p
sed "s/\([0-9] [0-9]\) [0-9]* \([0-9]* [0-9]*\) [0-9]* \(.*:$p.001$\)/\1 $colour \2 $font \3/" \
< tmp.fig >TMP.fig
mv TMP.fig tmp.fig
done
mv tmp.fig ${sys}_pcbg.fig