-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid class “MIAPE” object: invalid object for slot "instrumentModel" in class "MIAPE": got class "list", should be or extend class "character" from Autotuner #603
Comments
Indeed, they use MSnbase for several operations, including reading data in. Could you share a cdf file to see what happens. |
Of course, no problem, here is the link to the file: The following are the results of the current file reading: |
The function you use if from the Autotune uses
which works. The error that you show is related to the experiment data and/or instrument models encoded in the resulting object, which are fine:
Have you run Autotuner with multiple files, and (probably) with more parameters, then only that file? Please give me the exact code that lead to the error, or I won't be able to help. |
You have the error when reading the the 2 first files in. The 3rd one, that you shared with me, works. Could you share one of the first two. |
https://drive.google.com/file/d/1xizO3QNrcRg_f9uDfZMlRJRWDhY3CnwN/view?usp=share_link Here is the 2 first files, thanks for your help |
Hi, I have seen issues here about cdf files and "MIAPE" object: errors. This is my situation currently:
I'm using the Autotuner suite to find out the best parameters,
https://github.com/KujawinskiLaboratory/Autotuner
My source file is a cdf file
The error message I get is as follows:
Error in validObject(.Object) :
invalid class "MIAPE" object: invalid object for slot "instrumentModel" in class "MIAPE": got class "list", should be or extend class "character"
Since there has been no response from the author of Autotuner, and my own programming skills are not very good, I am not sure how to modify their code.
After I checked their source code, I saw that they use the read function readMSData of
MSnbase.
So I was wondering if there is a connection that can solve this problem.
https://github.com/KujawinskiLaboratory/Autotuner/blob/b3642602f208461973d6a98b58c2220d44f84d0c/R/Autotuner-class.R#L29
The text was updated successfully, but these errors were encountered: