pybiolib 1.2.100.dev1__py3-none-any.whl → 1.2.102.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biolib/utils/seq_util.py +2 -3
- {pybiolib-1.2.100.dev1.dist-info → pybiolib-1.2.102.dev1.dist-info}/METADATA +1 -1
- {pybiolib-1.2.100.dev1.dist-info → pybiolib-1.2.102.dev1.dist-info}/RECORD +6 -6
- {pybiolib-1.2.100.dev1.dist-info → pybiolib-1.2.102.dev1.dist-info}/LICENSE +0 -0
- {pybiolib-1.2.100.dev1.dist-info → pybiolib-1.2.102.dev1.dist-info}/WHEEL +0 -0
- {pybiolib-1.2.100.dev1.dist-info → pybiolib-1.2.102.dev1.dist-info}/entry_points.txt +0 -0
biolib/utils/seq_util.py
CHANGED
@@ -38,7 +38,7 @@ class SeqUtil:
|
|
38
38
|
allow_empty_sequence: bool = True,
|
39
39
|
file_name: Optional[str] = None,
|
40
40
|
) -> Iterator[SeqUtilRecord]:
|
41
|
-
def process_and_yield_record(header: str, sequence_lines:
|
41
|
+
def process_and_yield_record(header: str, sequence_lines: List[str]):
|
42
42
|
sequence = ''.join(sequence_lines)
|
43
43
|
sequence_id = header.split()[0]
|
44
44
|
if not allow_any_sequence_characters:
|
@@ -60,7 +60,6 @@ class SeqUtil:
|
|
60
60
|
yield line.decode('utf-8')
|
61
61
|
|
62
62
|
def line_generator_from_text_io_wrapper(file_handle: TextIOWrapper) -> Iterator[str]:
|
63
|
-
"""Generates lines from a TextIOWrapper handle, decoding UTF-8."""
|
64
63
|
for line in file_handle:
|
65
64
|
yield line
|
66
65
|
|
@@ -80,7 +79,7 @@ class SeqUtil:
|
|
80
79
|
raise ValueError('input_file must be a file name (str) or a BufferedIOBase object')
|
81
80
|
|
82
81
|
header = None
|
83
|
-
sequence_lines:
|
82
|
+
sequence_lines: List[str] = []
|
84
83
|
|
85
84
|
try:
|
86
85
|
for line_number, line in enumerate(line_iterator):
|
@@ -117,10 +117,10 @@ biolib/utils/__init__.py,sha256=fwjciJyJicvYyZcVTzfDBgD0SKY13DeXqvTeG4qZIy8,5548
|
|
117
117
|
biolib/utils/app_uri.py,sha256=Yq_-_VGugQhMMo6mM5f0G9yNlLkr0WK4j0Nrf3FE4xQ,2171
|
118
118
|
biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3100
|
119
119
|
biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
|
120
|
-
biolib/utils/seq_util.py,sha256=
|
120
|
+
biolib/utils/seq_util.py,sha256=Qy9PARlXdD5236yMp6tkaliam5htZvHviOvw6idnpqI,5506
|
121
121
|
biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
|
122
|
-
pybiolib-1.2.
|
123
|
-
pybiolib-1.2.
|
124
|
-
pybiolib-1.2.
|
125
|
-
pybiolib-1.2.
|
126
|
-
pybiolib-1.2.
|
122
|
+
pybiolib-1.2.102.dev1.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
|
123
|
+
pybiolib-1.2.102.dev1.dist-info/METADATA,sha256=MMWcTSpt7m9dtAs1FJ7h0aZ38wDPnCqmOY0D-QXhnmQ,1512
|
124
|
+
pybiolib-1.2.102.dev1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
125
|
+
pybiolib-1.2.102.dev1.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
|
126
|
+
pybiolib-1.2.102.dev1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|