Skip to content

Commit

Permalink
rm rcut from DeepmdDataSystem (#3106)
Browse files Browse the repository at this point in the history
Co-authored-by: Han Wang <[email protected]>
  • Loading branch information
wanghan-iapcm and Han Wang authored Jan 5, 2024
1 parent a905817 commit 674ea17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deepmd/utils/data_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(
systems: List[str],
batch_size: int,
test_size: int,
rcut: float,
rcut: Optional[float] = None,
set_prefix: str = "set",
shuffle_test: bool = True,
type_map: Optional[List[str]] = None,
Expand All @@ -59,7 +59,7 @@ def __init__(
test_size
The size of test data
rcut
The cut-off radius
The cut-off radius. Not used.
set_prefix
Prefix for the directories of different sets
shuffle_test
Expand Down Expand Up @@ -91,7 +91,7 @@ def __init__(
descriptors except mixed types.
"""
# init data
self.rcut = rcut
del rcut
self.system_dirs = systems
self.nsystems = len(self.system_dirs)
self.data_systems = []
Expand Down

0 comments on commit 674ea17

Please sign in to comment.