wfondrie / depthcharge

A deep learning toolkit for mass spectrometry
https://wfondrie.github.io/depthcharge/
Apache License 2.0
59 stars 18 forks source link

Return spectrum id in batch #11

Closed BercesteDincer closed 2 years ago

wfondrie commented 2 years ago

Hi @BercesteDincer - thanks for the PR. Can you please run black to format the code changes?

I've setup depthcharge with a pre-commit hook to run black automatically with new commits. To set it up, first make sure you have pre-commit installed:

# With conda:
conda install -c conda-forge pre-commit

# With pip:
pip install pre-commit

Then navigate to your local copy of the depthcharge repo and run:

pre-commit install

Now whenever you commit changes, black will be run and reformat any files as necessary.

I'm reviewing the changes now and I'll leave comments as I go.