File tree Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Expand file tree Collapse file tree 5 files changed +17
-10
lines changed 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
12
12
13
13
News
14
14
----
15
- v0.17 released:
15
+ v0.18 released:
16
16
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
18
19
19
20
20
21
Installation
Original file line number Diff line number Diff line change 4
4
PyCORN - script to extract data from .res (results) files generated
5
5
by UNICORN Chromatography software supplied with ÄKTA Systems
6
6
(c)2014-2016 - Yasar L. Ahmed
7
- v0.17
7
+ v0.18
8
8
'''
9
+
9
10
import argparse
10
11
from pycorn import pc_res3
11
12
from pycorn import pc_uni6
@@ -163,7 +164,7 @@ def smartscale(inp):
163
164
except :
164
165
KeyError
165
166
frac_data = None
166
- if args .xmin :
167
+ if args .xmin != None :
167
168
plot_x_min = args .xmin
168
169
else :
169
170
if frac_data :
@@ -362,12 +363,12 @@ def main2():
362
363
for fname in args .inp_res :
363
364
if args .inject == None :
364
365
args .inject = - 1
365
- if fname [- 3 :] == "zip" :
366
+ if ( fname [- 3 :]). lower () == "zip" :
366
367
fdata = pc_uni6 (fname )
367
368
fdata .load ()
368
369
fdata .xml_parse ()
369
370
fdata .clean_up ()
370
- if fname [- 3 :] == "res" :
371
+ if ( fname [- 3 :]). lower () == "res" :
371
372
fdata = pc_res3 (fname , reduce = args .reduce , inj_sel = args .inject )
372
373
fdata .load ()
373
374
if args .extract == 'csv' :
@@ -386,4 +387,4 @@ def main2():
386
387
if args .plot and plotting :
387
388
plotterX (fdata , fname )
388
389
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
+
1
6
v0.17
2
7
======
3
8
- Added experimental support for extracting and plotting UNICORN6 zip bundles
50
55
51
56
v0.1
52
57
======
53
- - Initial release
58
+ - Initial release
Original file line number Diff line number Diff line change 3
3
PyCORN - script to extract data from .res (results) files generated
4
4
by UNICORN Chromatography software supplied with ÄKTA Systems
5
5
(c)2014-2016 - Yasar L. Ahmed
6
- v0.17
6
+ v0.18
7
7
'''
8
8
9
9
from __future__ import print_function
Original file line number Diff line number Diff line change 7
7
8
8
setup (
9
9
name = 'pycorn' ,
10
- version = '0.17 ' ,
10
+ version = '0.18 ' ,
11
11
author = 'Yasar L. Ahmed' ,
12
12
packages = ['pycorn' ],
13
13
extras_require = {'plotting' : ["matplotlib" ], 'xlsx-output' : ['xlsxwriter' ]},
You can’t perform that action at this time.
0 commit comments