Skip to content

Commit e153ebd

Browse files
committed
fixed
1 parent f28ef0a commit e153ebd

File tree

5 files changed

+12
-25
lines changed

5 files changed

+12
-25
lines changed

README.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,9 @@ A script extract data from .res (results) files generated by UNICORN Chromatogra
1212

1313
News
1414
----
15-
<<<<<<< HEAD
16-
v0.16b released:
17-
18-
- Fixed line ending on non-Windows setups
19-
=======
2015
v0.17 released:
2116

2217
- Added experimental support for extracting and plotting UNICORN6 zip bundles
23-
>>>>>>> uni6
2418

2519

2620
Installation

examplescripts/pycorn-bin.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
'''
44
PyCORN - script to extract data from .res (results) files generated
55
by UNICORN Chromatography software supplied with ÄKTA Systems
6-
<<<<<<< HEAD
7-
(c)2014-2015 - Yasar L. Ahmed
8-
v0.16
9-
=======
106
(c)2014-2016 - Yasar L. Ahmed
117
v0.17
12-
>>>>>>> uni6
138
'''
149
import argparse
1510
from pycorn import pc_res3
@@ -34,7 +29,7 @@
3429
print("WARNING: xlsxwriter not found - xlsx-output disabled!")
3530
xlsx = False
3631

37-
pcscript_version = 0.15
32+
pcscript_version = 0.14
3833

3934
parser = argparse.ArgumentParser(
4035
description = "Extract data from UNICORN .res files to .csv/.txt and plot them (matplotlib required)",
@@ -132,6 +127,16 @@ def xy_data(inp):
132127
return x_data, y_data
133128

134129

130+
def uvdata(inp):
131+
'''
132+
helps in finding the useful data
133+
'''
134+
UV_blocks = [i for i in inp if i.startswith('UV') or i.endswith('nm')]
135+
for i in UV_blocks:
136+
if i.endswith("_0nm"):
137+
UV_blocks.remove(i)
138+
139+
135140
def smartscale(inp):
136141
'''
137142
input is the entire fdata block
@@ -262,7 +267,7 @@ def plotterX(inp,fname):
262267
horizontalalignment='center', verticalalignment='bottom', size=8, rotation=90)
263268
except:
264269
KeyError
265-
if inp.inject_vol != 0.0 and not args.no_inject:
270+
if inp.inject_vol != 0.0:
266271
injections = inp.injection_points
267272
host.axvline(x=0, ymin=0.10, ymax=0.0, color='#FF3292',
268273
ls ='-', marker='v', markevery=2, linewidth=1.5, alpha=0.85, label='Inject')

pycorn/docs/CHANGES.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
<<<<<<< HEAD
2-
=======
31
v0.17
42
======
53
- Added experimental support for extracting and plotting UNICORN6 zip bundles
64

7-
>>>>>>> uni6
85
v0.16b
96
======
107
- Fixed line ending on non-Windows setups

pycorn/pycorn.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
'''
33
PyCORN - script to extract data from .res (results) files generated
44
by UNICORN Chromatography software supplied with ÄKTA Systems
5-
<<<<<<< HEAD
6-
(c)2014-2015 - Yasar L. Ahmed
7-
v0.14b
8-
=======
95
(c)2014-2016 - Yasar L. Ahmed
106
v0.17
11-
>>>>>>> uni6
127
'''
138

149
from __future__ import print_function

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
setup(
99
name='pycorn',
10-
<<<<<<< HEAD
11-
version='0.16b',
12-
=======
1310
version='0.17',
14-
>>>>>>> uni6
1511
author='Yasar L. Ahmed',
1612
packages=['pycorn'],
1713
extras_require = {'plotting': ["matplotlib"], 'xlsx-output': ['xlsxwriter']},

0 commit comments

Comments
 (0)