[Bio] / FigTutorial / add_link.py Repository:
ViewVC logotype

Annotation of /FigTutorial/add_link.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download) (as text)

1 : disz 1.1 from FigKernelPackages import FIG
2 :     import sys
3 :    
4 :     f = FIG.FIG()
5 :    
6 :     def die(msg):
7 :     print msg
8 :     sys.exit(0)
9 :    
10 :     if len(sys.argv) != 3:
11 :     die("usage: add_link PEG Link")
12 :    
13 :     print f.add_peg_links([sys.argv[1], sys.argv[2]])
14 :    
15 :    
16 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3