Skip to content

Commit

Permalink
fix format check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed Apr 11, 2024
1 parent afb05e6 commit 55690bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/nplinker/genomics/bgc.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def detach_parent(self, gcf: GCF) -> None:

@property
def strain(self) -> Strain | None:
"""Get the strain of the BGC."""
return self._strain

@strain.setter
Expand Down
2 changes: 1 addition & 1 deletion src/nplinker/metabolomics/gnps/gnps_spectrum_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _get_precursor_charge(self, charges: list) -> int:
"""Get the precursor charge from the charge list.
Args:
charge: list of charge values.
charges: list of charge values.
Returns:
the precursor charge.
Expand Down

0 comments on commit 55690bf

Please sign in to comment.