Skip to content
Snippets Groups Projects
Commit a5e6e9d4 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

pass the right flags to NACCESS

parent eb1edb2f
No related branches found
No related tags found
No related merge requests found
...@@ -316,9 +316,9 @@ def CalculateSurfaceArea(entity, radius=1.4, ...@@ -316,9 +316,9 @@ def CalculateSurfaceArea(entity, radius=1.4,
command = "%s %s -p %f " % \ command = "%s %s -p %f " % \
(naccess_executable, naccess_data_file, radius) (naccess_executable, naccess_data_file, radius)
if include_hydrogens: if include_hydrogens:
command = "%s -w" % command
if include_water:
command = "%s -y" % command command = "%s -y" % command
if include_water:
command = "%s -w" % command
if include_hetatm: if include_hetatm:
command = "%s -h" % command command = "%s -h" % command
# execute naccess # execute naccess
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment