File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ PyCORN
2+ ======
3+
4+ A script to extract data from UNICORN result (.res) files and plot them.
5+
6+ .. image :: https://raw.githubusercontent.com/pyahmed/PyCORN/master/samples/sample1_2009Jun16no001_plot.jpg
7+
8+
9+ A script to extract data from .res (results) files generated by UNICORN
10+ Chromatography software supplied with AKTA Systems. This script will
11+ find all data blocks, extract the data and write out csv-files. If you
12+ have matplotlib installed it will also plot all the curves including
13+ fractions if present. Plots can be saved in any format supported by
14+ matplotlib (default is pdf).
15+
16+ Limitations:
17+
18+ - See https://github.com/pyahmed/PyCORN/issues
19+
20+ Requirements:
21+
22+ - Python 2.7 or 3.x (Tested on Windows 7 / Mac OSX)
23+ - optional: working matplotlib installation (for plotting)
24+
25+ Usage:
26+
27+ - See docs/USAGE.txt
28+
29+ License:
30+
31+ - GPLv2 see docs/LICENSE.txt
Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ def plotterX(inp,fname):
236236 plot_file = fname [:- 4 ] + "_" + internal_run_name + "_plot." + args .format
237237 plt .savefig (plot_file , bbox_inches = 'tight' , dpi = args .dpi )
238238 print ("Plot saved to: " + plot_file )
239+ plt .clf ()
239240
240241def data_writer1 (fname , inp ):
241242 '''
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
12try :
23 from setuptools import setup
34except ImportError :
67
78setup (
89 name = 'pycorn' ,
9- version = '0.1dev0' ,
10+ version = '0.13' ,
11+ author = 'Yasar L. Ahmed' ,
1012 packages = ['pycorn' ,],
13+ scripts = ['examplescripts/pycorn-bin.py' ],
1114 license = 'GNU General Public License v2 (GPLv2)' ,
12- long_description = open ('README.md' ).read (),
15+ description = 'A script to extract data from UNICORN result (res) files' ,
16+ long_description = open ('README.rst' ).read (),
1317 url = 'https://github.com/pyahmed/PyCORN' ,
1418)
You can’t perform that action at this time.
0 commit comments