Comments (8)
We are wondering if there has been any progress on "Still a troublesome Linux issues raw_file.instrument_methods_count" ?
thx
[email protected]
from fisher_py.
Dear @keesh-elucid
Sorry for the very late reply. Github still does not forward notifications to me. It seems to me that the problems you are experiencing are related to the raw file you are trying to access. I was unable to reproduce those issues with the raw files I use for testing.
If you send me a similar raw file without critical data I may be able to debug the issue in detail. As an alternative I can implement a fallback that just ignores the instrument_methods_count that cannot be read from your files.
Let me know how you want to proceed,
Cheers Dominik
from fisher_py.
Hi @dowerner,
In the fisher_py
fork I created for our project, I created a bug/instrument_methods_count
branch and created a test_data
directory inside the examples
directory -- it should be accessible here. It contains two small raw files. Both of those files cause the InstrumentMethodsCount crash when I run raw_file_reader_example.py
on them, using Mac or Linux.
from fisher_py.
Finally, I had the chance to test your files using a Linux system (WSL - Ubuntu 20.04 on Windows 10). It turns out that the problem occurs for all .raw files on Linux but not on Windows. Sadly, the issue is situated within the .NET binaries (provided to us by ThermoFisher) and not within the Python code. What I can offer is to implement a fallback that just returns "None" if the count cannot be extracted, obviously this won't do you much good if you need this parameter. Hopefully, we can replace the DLLs in the future so it works properly on all platforms.
from fisher_py.
The fix is now implemented in version 19, feel free to open a new issue if anythin else pops up (meanwhile I fixed the github notification issue on my side 👍 )
from fisher_py.
So does your fix address the following?
So, I created a C# only version of my small method.
It ran fine on Linux.
rawFile.InstrumentMethodsCount // OK
rawFile.GetInstrumentMethod(i) // OK
But, the Python wrapper crashed.
from fisher_py.
To be honest I did not run a C# example. I assumed pythonnet would invoke the offending properties and methods similar to the .NET runtime in C#. If you have an idea how to fix this I'll gladly have a look. As it stands I don't know how to fix it in fisher_py.
from fisher_py.
Sure, let me check with my colleague.
thx e.-
from fisher_py.
Related Issues (12)
- Issues with instrument methods when using Mono HOT 2
- Disable native thermo peak picking HOT 2
- Missing fields like "UserLabel" and "Sequence Row Level Name" HOT 7
- Cannot run multiprocessed on linux HOT 2
- GetMassListFromScanNum equivalent in Python / dotNET HOT 4
- Problem with select_instrument() HOT 5
- How to access full profile spectrum? HOT 4
- Error accessing ScanEvent properties on macOS/Linux HOT 1
- Raw file multi-threaded access from Python? HOT 7
- Issue reading the file on Mac OS HOT 6
- [Help wanted] get_retention_time_from_scan_number throws TypeError HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fisher_py.