Skip to content

Commit

Permalink
Updated the parse_args in the MassWeightedStdDistProtocol to look for…
Browse files Browse the repository at this point in the history
… selection_string setting keyword instead of selection.
  • Loading branch information
blakeaw committed Feb 25, 2019
1 parent 22ed24b commit 4a98db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybilt/bilayer_analyzer/analysis_protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ def _parse_str_to_dict(self, args):
arg_dict['n_bins'] = int(arg_arg)
read_sel_string = False
n_bins_arg = True
elif arg_key == 'selection':
elif arg_key == 'selection_string':
selection_words = [args[j] for j in range(i + 1, nargs) if
(args[j] not in self._valid_settings)]
i += len(selection_words)
Expand Down

0 comments on commit 4a98db9

Please sign in to comment.