Closed mafreitas closed 1 year ago
It seems to me that _detect_array_name
does not know how to do this.
My understanding is that we need to
referenceableParamGroup
elements;_detect_array_name
to look for referenceableParamGroupRef
and update the info dict from the corresponding referenceableParamGroup
.However, I may be misunderstanding something entirely. @mobiusklein would you be able to take a look?
Really, we ought to handle referenceableParamGroupRef
the same way we handle cvParam
. I see the path forward. Give me 30 minutes, a bandsaw, a left handed spanner, and a sprig of thyme and we'll see what breaks.
If you need a file, I can setup a shared folder on google.
Short term solution that works on master
: When you create your parser, pass retrieve_refs=True
.
Longer term solution that won't require code changes (but could be backwards incompatible) would be an incoming PR
@mafreitas please take a look at PR #95 and see if that branch solves your issue for you. I was able to download your example files and read them without issue.
I can confirm that it does work. Thank you.
I am trying to read a waters file that was converted by proteowizard and supplied by a client. It had the binary data array name supplied as a reference to theParm Group. When I try and read the file I get
pyteomics\mzml.py:210: UserWarning: Multiple options for naming binary array after no valid name found: ['ref']
Is there an option to read the param group info for the binary data arrays that I am missing?
Snippets from the mzml are below for reference.