Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/run_waterkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def main():
temperature = args.temperature
output_dir = args.output_dir
spherical_water_maps = args.spherical_water_maps
autogrid_exec_path = args.autogrid_exec_path
autogrid_exec_path = os.path.abspath(args.autogrid_exec_path)
water_model = 'tip3p'

# Force to use only one thread per job
Expand Down
2 changes: 1 addition & 1 deletion waterkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def is_writable(pathname):
testfile = tempfile.NamedTemporaryFile(dir=pathname)
testfile.close()
except (PermissionError, FileNotFoundError) as e:
raise RuntimeError('Can write in directory %s.' % pathname) from e
raise RuntimeError('Can\'t write in directory %s.' % pathname) from e


def execute_command(cmd_line):
Expand Down