ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/osprai/osprai/trunk/test.py
(Generate patch)
# Line 5 | Line 5
5   """
6  
7   import io_module as io
8 < reload(io)
8 > reload(io)  ## In case io_module code has changed.
9  
10 < ba1 = io.readsprit("example-sprit.txt")
11 < #ba1.set_plot_all()
12 < #ba1.plot()
10 > ba1 = io.readbiosensor("example-biosensor.txt")
11 > #ba1 = io.readicmtxt("example-icm.txt")
12 > #ba1 = io.readsprit("example-sprit.txt")
13 > #ba1 = io.applykey(ba1, "example-key.tsv")
14 > ba1.set_plot_all()
15 > ba1.plot()
16  
17   #io.writesprit(ba1,"testwritesprit.txt")
18   #io.writeclamp(ba1,"testwriteclamp.txt")
19 <
17 < ba2 = io.applykey(ba1, "example-key.tsv")
18 < #ba2.set_plot_all()
19 < #ba2.plot()
20 <
21 < ba3 = io.readicmtxt("example-icm.txt")
22 < ba3.set_plot_all()
23 < ba3.plot()
19 > io.writebiosensor(ba1, "testwritebiosensor.txt")
20  
21   print "Done with test."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines