Skip to content

Commit

Permalink
Format ruff structure/io/pdbx/cif.py with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
xvlaurent committed Oct 28, 2024
1 parent 9262338 commit b7ad374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biotite/structure/io/pdbx/cif.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
__all__ = ["CIFFile", "CIFBlock", "CIFCategory", "CIFColumn", "CIFData"]

import itertools
import re
from collections.abc import MutableMapping, Sequence
import numpy as np
from biotite.file import (
Expand Down Expand Up @@ -1063,6 +1062,7 @@ def _split_one_line(line):

yield word


def _arrayfy(data):
if not isinstance(data, (Sequence, np.ndarray)) or isinstance(data, str):
data = [data]
Expand Down

0 comments on commit b7ad374

Please sign in to comment.