@@ -39,43 +39,43 @@ class BaseCalculation(FileNameMixin):
3939
4040 Parameters
4141 ----------
42- calc_name : str
42+ calc_name
4343 Name of calculation being run, used for name of logger. Default is "base".
44- struct : MaybeSequence[Atoms] | None
44+ struct
4545 ASE Atoms structure(s) to simulate. Required if `struct_path` is None.
4646 Default is None.
47- struct_path : PathLike | None
47+ struct_path
4848 Path of structure to simulate. Required if `struct` is None.
4949 Default is None.
50- arch : Architectures
50+ arch
5151 MLIP architecture to use for calculations. Default is "mace_mp".
52- device : Devices
52+ device
5353 Device to run model on. Default is "cpu".
54- model_path : PathLike | None
54+ model_path
5555 Path to MLIP model. Default is `None`.
56- read_kwargs : ASEReadArgs
56+ read_kwargs
5757 Keyword arguments to pass to ase.io.read. Default is {}.
58- sequence_allowed : bool
58+ sequence_allowed
5959 Whether a sequence of Atoms objects is allowed. Default is True.
60- calc_kwargs : dict[str, Any] | None
60+ calc_kwargs
6161 Keyword arguments to pass to the selected calculator. Default is {}.
62- set_calc : bool | None
62+ set_calc
6363 Whether to set (new) calculators for structures. Default is None.
64- attach_logger : bool | None
64+ attach_logger
6565 Whether to attach a logger. Default is True if "filename" is passed in
6666 log_kwargs, else False.
67- log_kwargs : dict[str, Any] | None
67+ log_kwargs
6868 Keyword arguments to pass to `config_logger`. Default is {}.
69- track_carbon : bool | None
69+ track_carbon
7070 Whether to track carbon emissions of calculation. Requires attach_logger.
7171 Default is True if attach_logger is True, else False.
72- tracker_kwargs : dict[str, Any] | None
72+ tracker_kwargs
7373 Keyword arguments to pass to `config_tracker`. Default is {}.
74- file_prefix : PathLike | None
74+ file_prefix
7575 Prefix for output filenames. Default is None.
76- additional_prefix : str | None
76+ additional_prefix
7777 Component to add to default file_prefix (joined by hyphens). Default is None.
78- param_prefix : str | None
78+ param_prefix
7979 Additional parameters to add to default file_prefix. Default is None.
8080
8181 Attributes
@@ -112,44 +112,44 @@ def __init__(
112112
113113 Parameters
114114 ----------
115- calc_name : str
115+ calc_name
116116 Name of calculation being run, used for name of logger. Default is "base".
117- struct : MaybeSequence[Atoms] | None
117+ struct
118118 ASE Atoms structure(s) to simulate. Required if `struct_path` is None.
119119 Default is None.
120- struct_path : PathLike | None
120+ struct_path
121121 Path of structure to simulate. Required if `struct` is None. Default is
122122 None.
123- arch : Architectures
123+ arch
124124 MLIP architecture to use for calculations. Default is "mace_mp".
125- device : Devices
125+ device
126126 Device to run MLIP model on. Default is "cpu".
127- model_path : PathLike | None
127+ model_path
128128 Path to MLIP model. Default is `None`.
129- read_kwargs : ASEReadArgs | None
129+ read_kwargs
130130 Keyword arguments to pass to ase.io.read. Default is {}.
131- sequence_allowed : bool
131+ sequence_allowed
132132 Whether a sequence of Atoms objects is allowed. Default is True.
133- calc_kwargs : dict[str, Any] | None
133+ calc_kwargs
134134 Keyword arguments to pass to the selected calculator. Default is {}.
135- set_calc : bool | None
135+ set_calc
136136 Whether to set (new) calculators for structures. Default is None.
137- attach_logger : bool | None
137+ attach_logger
138138 Whether to attach a logger. Default is True if "filename" is passed in
139139 log_kwargs, else False.
140- log_kwargs : dict[str, Any] | None
140+ log_kwargs
141141 Keyword arguments to pass to `config_logger`. Default is {}.
142- track_carbon : bool | None
142+ track_carbon
143143 Whether to track carbon emissions of calculation. Requires attach_logger.
144144 Default is True if attach_logger is True, else False.
145- tracker_kwargs : dict[str, Any] | None
145+ tracker_kwargs
146146 Keyword arguments to pass to `config_tracker`. Default is {}.
147- file_prefix : PathLike | None
147+ file_prefix
148148 Prefix for output filenames. Default is None.
149- additional_prefix : str | None
149+ additional_prefix
150150 Component to add to default file_prefix (joined by hyphens). Default is
151151 None.
152- param_prefix : str | None
152+ param_prefix
153153 Additional parameters to add to default file_prefix. Default is None.
154154 """
155155 read_kwargs , calc_kwargs , log_kwargs , tracker_kwargs = none_to_dict (
@@ -232,7 +232,7 @@ def _set_info_units(
232232
233233 Parameters
234234 ----------
235- keys : Sequence
235+ keys
236236 Keys for which to add units to structure info. Default is
237237 ("energy", "forces", "stress").
238238 """
0 commit comments