Skip to content

Commit

Permalink
Fix: sanitize_path_for_file is still needed by output logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Jun 12, 2018
1 parent 38e95e1 commit 47f0335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ommprotocol/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
from parmed.openmm import RestartReporter, NetCDFReporter, MdcrdReporter
from openmoltools.utils import create_ffxml_file
# Own
from .utils import sanitize_args_for_file, ignored_exceptions, warned_getattr, extant_file
from .utils import (sanitize_args_for_file, sanitize_path_for_file,
ignored_exceptions, warned_getattr, extant_file)
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Expand Down
2 changes: 1 addition & 1 deletion ommprotocol/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def sanitize_args_for_file(args, config_file):
if isinstance(args, basestring):
args = (args,)
path = sanitize_path_for_file(args[0], config_file)
return (path,) + args[1:]
return (path,) + tuple(args[1:])


def sanitize_path_for_file(path, config_file):
Expand Down

0 comments on commit 47f0335

Please sign in to comment.