Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed May 8, 2024
1 parent bc65c93 commit 8a91a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ms2pip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from ms2pip.constants import MODELS
from ms2pip.result import ProcessingResult, calculate_correlations
from ms2pip.spectrum_input import read_spectrum_file
from ms2pip.spectrum_output import SUPPORTED_FORMATS, write_spectra
from ms2pip.spectrum_output import SUPPORTED_FORMATS

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -425,7 +425,7 @@ def _validate_output_formats(self, output_formats: List[str]) -> List[str]:
self.output_formats = ["csv"]
else:
for output_format in output_formats:
if output_format not in SUPPORTED_OUTPUT_FORMATS:
if output_format not in SUPPORTED_FORMATS:
raise exceptions.UnknownOutputFormatError(output_format)
self.output_formats = output_formats

Expand Down

0 comments on commit 8a91a57

Please sign in to comment.