Skip to content

Commit

Permalink
Reformatted with black
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkle12 committed Dec 20, 2024
1 parent b4baccf commit 117fda8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproteininference/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,13 @@ def _as_list(x: Union[str, List[str]]) -> List[str]:
if len(extensions) > 1:
raise ValueError("All input files must be of the same type and have the same file extension.")
logger.info("File(s) have extensions: {}".format(extensions))
if ".idxml" in extensions or ".mzid" in extensions or ".pep.xml" in extensions or ".xml" in extensions or ".pepxml" in extensions:
if (
".idxml" in extensions
or ".mzid" in extensions
or ".pep.xml" in extensions
or ".xml" in extensions
or ".pepxml" in extensions
):
reader = pyproteininference.reader.IdXMLReader(
target_file=self.target_files,
decoy_file=self.decoy_files,
Expand Down

0 comments on commit 117fda8

Please sign in to comment.