File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ A script extract data from .res (results) files generated by UNICORN Chromatogra
1212
1313News
1414----
15- v0.17 released:
15+ v0.18 released:
1616
17- - Added experimental support for extracting and plotting UNICORN6 zip bundles
17+ - FIXED: xmin being ignored when 0
18+ - FIXED: Files with capitalised name ending are not loaded
1819
1920
2021Installation
Original file line number Diff line number Diff line change 44PyCORN - script to extract data from .res (results) files generated
55by UNICORN Chromatography software supplied with ÄKTA Systems
66(c)2014-2016 - Yasar L. Ahmed
7- v0.17
7+ v0.18
88'''
9+
910import argparse
1011from pycorn import pc_res3
1112from pycorn import pc_uni6
@@ -163,7 +164,7 @@ def smartscale(inp):
163164 except :
164165 KeyError
165166 frac_data = None
166- if args .xmin :
167+ if args .xmin != None :
167168 plot_x_min = args .xmin
168169 else :
169170 if frac_data :
@@ -362,12 +363,12 @@ def main2():
362363 for fname in args .inp_res :
363364 if args .inject == None :
364365 args .inject = - 1
365- if fname [- 3 :] == "zip" :
366+ if ( fname [- 3 :]). lower () == "zip" :
366367 fdata = pc_uni6 (fname )
367368 fdata .load ()
368369 fdata .xml_parse ()
369370 fdata .clean_up ()
370- if fname [- 3 :] == "res" :
371+ if ( fname [- 3 :]). lower () == "res" :
371372 fdata = pc_res3 (fname , reduce = args .reduce , inj_sel = args .inject )
372373 fdata .load ()
373374 if args .extract == 'csv' :
@@ -386,4 +387,4 @@ def main2():
386387 if args .plot and plotting :
387388 plotterX (fdata , fname )
388389
389- main2 ()
390+ main2 ()
Original file line number Diff line number Diff line change 1+ v0.18
2+ ======
3+ - FIXED: xmin being ignored when 0
4+ - FIXED: Files with capitalised name ending are not loaded
5+
16v0.17
27======
38- Added experimental support for extracting and plotting UNICORN6 zip bundles
5055
5156v0.1
5257======
53- - Initial release
58+ - Initial release
Original file line number Diff line number Diff line change 33PyCORN - script to extract data from .res (results) files generated
44by UNICORN Chromatography software supplied with ÄKTA Systems
55(c)2014-2016 - Yasar L. Ahmed
6- v0.17
6+ v0.18
77'''
88
99from __future__ import print_function
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'pycorn' ,
10- version = '0.17 ' ,
10+ version = '0.18 ' ,
1111 author = 'Yasar L. Ahmed' ,
1212 packages = ['pycorn' ],
1313 extras_require = {'plotting' : ["matplotlib" ], 'xlsx-output' : ['xlsxwriter' ]},
You can’t perform that action at this time.
0 commit comments