Skip to content

Commit c460432

Browse files
committed
black
1 parent 72d92e6 commit c460432

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

modelseedpy/core/msbuilder.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,13 @@ def build_gpr(cpx_gene_role):
287287

288288
class MSBuilder:
289289
def __init__(
290-
self, genome, template=None, name=None, ontology_term="RAST", index="0", template_core=None,
290+
self,
291+
genome,
292+
template=None,
293+
name=None,
294+
ontology_term="RAST",
295+
index="0",
296+
template_core=None,
291297
):
292298
"""
293299

modelseedpy/core/msgenome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def to_fasta(features: Iterable[MSFeature], filename, line_size=80, fn_header=No
4747
fh.write(h)
4848
_seq = feature.seq
4949
lines = [
50-
_seq[i: i + line_size] + "\n"
50+
_seq[i : i + line_size] + "\n"
5151
for i in range(0, len(_seq), line_size)
5252
]
5353
for line in lines:

modelseedpy/core/rast_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def annotate_protein_sequence(self, protein_id: str, protein_seq: str):
100100
def annotate_protein_batch(self, protein_batch: dict):
101101
protein_annotations = {}
102102
features = [
103-
{"id": _id, "protein_translation": seq} for _id, seq in protein_batch.items()
103+
{"id": _id, "protein_translation": seq}
104+
for _id, seq in protein_batch.items()
104105
]
105106
params = [{"features": features}, {"stages": self.stages}]
106107
result = self.rpc_client.call("GenomeAnnotation.run_pipeline", params)

0 commit comments

Comments
 (0)