Skip to content

Commit

Permalink
Bug: error submitting jobs with local forcefield files.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsaxe committed Jun 30, 2024
1 parent 5b2eaa9 commit 0fef802
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
=======
History
=======
2024.6.30 -- Bugfix: Error submitting jobs with local forcefield files.

2024.6.29 -- Bugfix: factor of 2 for dihedrals and impropers in ligpargen
* The ligpargen tool was missing a factor of 2 in the dihedral and improper parameters.
* Corrected the search paths for forcefields.
Expand Down
4 changes: 2 additions & 2 deletions forcefield_step/forcefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ def list_data_files(self, local_only=True):

ff_file = P["forcefield_file"]
if ff_file.startswith("local:"):
ff_file = ff_file[6:]
uri = f"data:Forcefields/{ff_file}"
ff_file = "Forcefields/" + ff_file[6:]
uri = f"data:{ff_file}"
path = self.find_data_file(ff_file)
result.append((uri, path))
else:
Expand Down

0 comments on commit 0fef802

Please sign in to comment.