Sure thing [removed name and mail to protect privacy]
I last contacted him about 9 months ago, regarding an issue where PyCorn exports pH data without decimals included (so pH 8.0 shows up as pH 80). He responded very promptly, so he appears to still be using that email, luckily.
He informed me that he no longer works in this field and hasn’t worked on the software in several years. Thus, I think if we inform him about the CADET project, we can possibly officially integrate his software which would make for a very nice user experience. In the spirit of open-source programming, I think this would be a great idea overall.
I also took a look at the code. It does not seem to be super complicated or a very large project for that matter. So maybe we could also consider a rewrite which would allow us to make some design decisions that would make the integration into the rest of CADET easier.
@ronald.jaepel this could be a nice side project for you to work on.
you can export multiple folders from the UNICORN Software at the same time into (I think) .Ufol database files. Those are just zip archives and can be extracted with 7zip or any other archiving software. They contain the folder structure and all chromatograms within as .Results or .Zip files. These in turn can be opened with PyCorn, which I’ve forked and updated a bit here
I was able to read the zip file from Unicorn 7 using Python with the following codes:
# Importing the module
from pycorn import pc_uni6
# Create the instance using default options
my_res_file = pc_uni6("sample1.zip")
# Parse the file
my_res_file.load()
my_res_file.xml_parse()
# Show available data
print(list(my_res_file.keys()))
# For example to read-out the the unit for the UV-block:
my_res_file['UV 1_280']['unit']
# To read the actual UV-data:
data = my_res_file['UV 1_280']['data']
If you are still having trouble, please raise an issue with a minimal reproducible example (ZIP file and code) on the PyCorn GitHub repo GitHub · Where software is built and I’ll see what I can do.