Skip to content
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

Fix MS consumer Code blocks #397

Open
jpfeuffer opened this issue May 18, 2023 · 0 comments
Open

Fix MS consumer Code blocks #397

jpfeuffer opened this issue May 18, 2023 · 0 comments

Comments

@jpfeuffer
Copy link
Contributor

They are apparently declared as "output" not "python" because they are not working.

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[8], line 34
     31 consumer = oms.PlainMSDataWritingConsumer(outputfile)
     32 consumer = FilteringConsumer(consumer, filter_string)
---> 34 oms.MzMLFile().transform(inputfile,consumer)

File pyopenms/_pyopenms_7.pyx:10193, in pyopenms._pyopenms_7.MzMLFile.transform()

File pyopenms/_pyopenms_7.pyx:10279, in pyopenms._pyopenms_7.MzMLFile._transform_1()

RuntimeError: - due to that error of type FileNotFound in: /__w/OpenMS/OpenMS/OpenMS/src/openms/source/FORMAT/XMLFile.cpp@107-void OpenMS::Internal::XMLFile::parse_(const OpenMS::String&, OpenMS::Internal::XMLHandler*)

I didn't check but it might be the change from output to python block. Maybe the code is not executable or a file missing. I think a quick fix for your PR would be to change it back to output.

Originally posted by @timosachsenberg in #396 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant