Skip to content

Commit 8786c0d

Browse files
committed
fix: f-string; ci: skip site without PyMOL
1 parent a1a4092 commit 8786c0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csubst/main_site.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@ def main_site(g):
686686
parser_pymol.initialize_pymol(pdb_id=g['pdb'])
687687
num_chain = parser_pymol.get_num_chain()
688688
if num_chain >= g['pymol_max_num_chain']:
689-
print(f'Number of chains ({num_chain}) in the PDB file is larger than the maximum number of chains allowed (--pymol_max_num_chain {g['pymol_max_num_chain']}). PyMOL session image generation is disabled.', flush=True)
689+
# print(f'Number of chains ({num_chain}) in the PDB file is larger than the maximum number of chains allowed (--pymol_max_num_chain {g['pymol_max_num_chain']}). PyMOL session image generation is disabled.', flush=True)
690+
print(f"Number of chains ({num_chain}) in the PDB file is larger than the maximum number of chains allowed (--pymol_max_num_chain {g['pymol_max_num_chain']}). PyMOL session image generation is disabled.", flush=True)
690691
g['pymol_img'] = False
691692
if g['user_alignment'] is not None:
692693
g['mafft_add_fasta'] = g['user_alignment']

0 commit comments

Comments
 (0)