Skip to content

Commit 26f3d00

Browse files
committed
rename disable_water_entropy to water_entropy for improved clarity
1 parent dd01d9e commit 26f3d00

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CodeEntropy/config/arg_config_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
"default": "output_file.json",
6060
},
6161
"force_partitioning": {"type": float, "help": "Force partitioning", "default": 0.5},
62-
"disable_water_entropy": {
62+
"water_entropy": {
6363
"type": bool,
64-
"help": "If set to True, disables the calculation of water entropy",
65-
"default": False,
64+
"help": "If set to False, disables the calculation of water entropy",
65+
"default": True,
6666
},
6767
}
6868

CodeEntropy/entropy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def execute(self):
4444
number_frames = self._get_number_frames(start, end, step)
4545

4646
has_water = self._universe.select_atoms("water").n_atoms > 0
47-
if has_water and not self._args.disable_water_entropy:
47+
if has_water and self._args.water_entropy:
4848
self._calculate_water_entropy(self._universe, start, end, step)
4949

5050
if self._args.selection_string != "all":

0 commit comments

Comments
 (0)