File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ All the commands will be saved to history and can be viewed using the
7070the cache directory. See ``history `` docs for more information.
7171
7272Example for ``commands.txt `` file.
73- ==================================
73+ --------------------------------
7474
7575This file should be a simple ``.txt `` or non executable file. Here is an
7676example containing various examples for you to run.
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ def pymol_main(output_dir: str):
5959 ticked_indices = [0 ],
6060 maximal_count = len (pymol_code_opts ),
6161 )
62+ if not codes_selected :
63+ CONSOLE .print ("No code template selected." , style = "yellow" )
64+ return
6265
6366 for opt in codes_selected :
6467 code = pymol_code_opts [opt ]
You can’t perform that action at this time.
0 commit comments