Closed veitveit closed 2 years ago
@veitveit when you are happy with you changes let me know to review the PR.
@ypriverol Thanks, still some minor details to finish. Trying to pass all tests including the ones complaining about too complex functions.
@ypriverol The updates are done now. Please revise.
Is the title still representative of the PR content? If not maybe consider updating it.
@veitveit this is still failing. I will wait for your changes and all the tests pass.
@veitveit Running black locally committing those changes will solve the failing test.
From the failing test:
Run mshick/add-pr-comment@v1
with:
message: ## Python linting (`black`) is failing
To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:
* Install [`black`](https://black.readthedocs.io/en/stable/): `pip install black`
* Fix formatting errors in your pipeline: `black .`
Once you push these changes the test should pass, and you can hide this comment :+1:
We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!
Thanks again for your contribution!
@ypriverol @fabianegli Thanks for the help. Running black solved it.
Now the precursor tolerance for
FirstSearchTol
is set to 50 ppm or 0.01 Da depending on the unit of the given precursor mass. The fragment tolerance was added asMatchTolerance
to all "instruments"