diff --git a/rid/op/run_label.py b/rid/op/run_label.py index ca5627a..ce2d0a4 100644 --- a/rid/op/run_label.py +++ b/rid/op/run_label.py @@ -146,7 +146,7 @@ def execute( os.symlink(op_in["index_file"], op_in["index_file"].name) if op_in["cv_file"] is not None: for file in op_in["cv_file"]: - if file.name != "colvar": + if os.path.basename(file).endswith("pdb"): if not os.path.islink(file.name): os.symlink(file, file.name) if op_in["inputfile"] is not None: