Skip to content

Commit

Permalink
fix customized CV files
Browse files Browse the repository at this point in the history
  • Loading branch information
PKUfjh committed Aug 29, 2023
1 parent d6f2d70 commit 40d491c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rid/op/run_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 40d491c

Please sign in to comment.