Skip to content

Commit a305609

Browse files
committed
Update dev docs
1 parent a74482f commit a305609

11 files changed

+23
-23
lines changed

docs/custodian.ansible.interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Examples:
3636
Initializes a Modder from a list of supported actions.
3737

3838
* **Parameters**
39-
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
39+
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
4040
[`custodian.ansible.actions`](custodian.ansible.actions.md#module-custodian.ansible.actions). Default is None,
4141
which means only DictActions are supported.
4242
* **strict** (*bool*) – Indicating whether to use strict mode. In non-strict

docs/custodian.cp2k.interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Initializes a Modder for Cp2kInput sets
2020
* **Parameters**
2121
* **filename** (*str*) – name of cp2k input file to modify. This file will be overwritten
2222
if actions are applied.
23-
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
23+
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
2424
[`custodian.ansible.actions`](custodian.ansible.actions.md#module-custodian.ansible.actions). Default is None,
2525
which means DictActions and FileActions are supported.
2626
* **strict** (*bool*) – Indicating whether to use strict mode. In non-strict

docs/custodian.cp2k.jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ of the static constructors. The defaults are usually fine too.
3737
* **backup** (*bool*) – Whether to backup the initial input files. If True,
3838
the input file will be copied with a
3939
“.orig” appended. Defaults to True.
40-
* **settings_override** ( *[**actions**]*) – A list of actions. See the Cp2kModder
40+
* **settings_override** ( *[**actions**]*) – A list of actions. See the Cp2kModder
4141
in interpreter.py
4242
* **restart** (*bool*) – Whether to run in restart mode, i.e. this a continuation of
4343
a previous calculation. Default is False.

docs/custodian.custodian.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ every 30 x 10 = 300 seconds, i.e., 5 minutes. -->
5252
Initializes a Custodian from a list of jobs and error handlers.
5353

5454
* **Parameters**
55-
* **handlers** ( *[**ErrorHandler**]*) – Error handlers. In order of priority of
55+
* **handlers** ( *[**ErrorHandler**]*) – Error handlers. In order of priority of
5656
fixing.
57-
* **jobs** ( *[**Job**]*) – Sequence of Jobs to be run. Note that this can be
57+
* **jobs** ( *[**Job**]*) – Sequence of Jobs to be run. Note that this can be
5858
any sequence or even a generator yielding jobs.
59-
* **validators** ( *[**Validator**]*) – Validators to ensure job success
59+
* **validators** ( *[**Validator**]*) – Validators to ensure job success
6060
* **max_errors_per_job** (*int*) – Maximum number of errors per job allowed
6161
before exiting. Defaults to None, which means it is set to be
6262
equal to max_errors..

docs/custodian.feff.interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Bases: [`Modder`](custodian.ansible.interpreter.md#custodian.ansible.interpreter
1515
A Modder for FeffInput sets
1616

1717
* **Parameters**
18-
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
18+
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
1919
* **actions** – A sequence of supported actions. See
2020
[`custodian.ansible.actions`](custodian.ansible.actions.md#module-custodian.ansible.actions). Default is None,
2121
which means DictActions and FileActions are supported.

docs/custodian.gaussian.handlers.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ Initialize the GaussianErrorHandler class.
4141
be monitored and plotted (convergence criteria versus cycle number) and
4242
saved to a file called ‘convergence.png’.
4343

44-
### GRID_NAMES *= (‘finegrid’, ‘fine’, ‘superfinegrid’, ‘superfine’, ‘coarsegrid’, ‘coarse’, ‘sg1grid’, ‘sg1’, ‘pass0grid’, ‘pass0’)*
44+
### GRID_NAMES *= (‘finegrid’, ‘fine’, ‘superfinegrid’, ‘superfine’, ‘coarsegrid’, ‘coarse’, ‘sg1grid’, ‘sg1’, ‘pass0grid’, ‘pass0’)*
4545

46-
### MEM_UNITS *= (‘kb’, ‘mb’, ‘gb’, ‘tb’, ‘kw’, ‘mw’, ‘gw’, ‘tw’)*
46+
### MEM_UNITS *= (‘kb’, ‘mb’, ‘gb’, ‘tb’, ‘kw’, ‘mw’, ‘gw’, ‘tw’)*
4747

48-
### activate_better_guess *= False*
48+
### activate_better_guess *= False*
4949

5050
### check(directory: str = ‘./’)
5151

5252
Check for errors in the Gaussian output file.
5353

54-
### conv_criteria\*: ClassVar\* *= {‘max_disp’: re.compile(’\\s+(Maximum Displacement)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘max_force’: re.compile(’\\s+(Maximum Force)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘rms_disp’: re.compile(’\\s+(RMS {5}Displacement)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘rms_force’: re.compile(’\\s+(RMS {5}Force)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’)}*
54+
### conv_criteria\*: ClassVar\* *= {‘max_disp’: re.compile(’\\s+(Maximum Displacement)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘max_force’: re.compile(’\\s+(Maximum Force)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘rms_disp’: re.compile(’\\s+(RMS {5}Displacement)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’), ‘rms_force’: re.compile(’\\s+(RMS {5}Force)\\s+(-?\\d+.?\\d\*|.\*)\\s+(-?\\d+.?\\d\*)’)}*
5555

5656
### *static* convert_mem(mem: float, unit: str)
5757

@@ -71,13 +71,13 @@ Convert memory size between different units to megabytes (MB).
7171

7272
Perform necessary actions to correct the errors in the Gaussian output.
7373

74-
### error_defs\*: ClassVar\* *= {‘A syntax error was detected in the input line.’: ‘syntax’, ‘Atom specifications unexpectedly found in input stream.’: ‘found_coords’, ‘Bad file opened by FileIO’: ‘bad_file’, ‘Convergence failure’: ‘scf_convergence’, ‘End of file in ZSymb’: ‘zmatrix’, ‘End of file reading connectivity.’: ‘coords’, ‘Error in internal coordinate system’: ‘internal_coords’, ‘FileIO operation on non-existent file.’: ‘missing_file’, ‘FormBX had a problem’: ‘linear_bend’, ‘Inv3 failed in PCMMkU’: ‘solute_solvent_surface’, ‘Linear angle in Tors.’: ‘linear_bend’, ‘No data on chk file.’: ‘empty_file’, ‘Optimization stopped’: ‘opt_steps’, ‘Out-of-memory error in routine’: ‘insufficient_mem’, ‘The combination of multiplicity ([0-9]+) and \\s+? ([0-9]+) electrons is impossible.’: ‘charge’, ‘There are no atoms in this input structure !’: ‘missing_mol’, ‘Z-matrix optimization but no Z-matrix variables.’: ‘coord_inputs’}*
74+
### error_defs\*: ClassVar\* *= {‘A syntax error was detected in the input line.’: ‘syntax’, ‘Atom specifications unexpectedly found in input stream.’: ‘found_coords’, ‘Bad file opened by FileIO’: ‘bad_file’, ‘Convergence failure’: ‘scf_convergence’, ‘End of file in ZSymb’: ‘zmatrix’, ‘End of file reading connectivity.’: ‘coords’, ‘Error in internal coordinate system’: ‘internal_coords’, ‘FileIO operation on non-existent file.’: ‘missing_file’, ‘FormBX had a problem’: ‘linear_bend’, ‘Inv3 failed in PCMMkU’: ‘solute_solvent_surface’, ‘Linear angle in Tors.’: ‘linear_bend’, ‘No data on chk file.’: ‘empty_file’, ‘Optimization stopped’: ‘opt_steps’, ‘Out-of-memory error in routine’: ‘insufficient_mem’, ‘The combination of multiplicity ([0-9]+) and \\s+? ([0-9]+) electrons is impossible.’: ‘charge’, ‘There are no atoms in this input structure !’: ‘missing_mol’, ‘Z-matrix optimization but no Z-matrix variables.’: ‘coord_inputs’}*
7575

76-
### error_patt *= re.compile(‘Optimization stopped|Convergence failure|FormBX had a problem|Linear angle in Tors.|Inv3 failed in PCMMkU|Error in internal coordinate system|End of file in ZSymb|There are no atoms in this input str)*
76+
### error_patt *= re.compile(‘Optimization stopped|Convergence failure|FormBX had a problem|Linear angle in Tors.|Inv3 failed in PCMMkU|Error in internal coordinate system|End of file in ZSymb|There are no atoms in this input str)*
7777

78-
### grid_patt *= re.compile(‘(-?\\d{5})’)*
78+
### grid_patt *= re.compile(‘(-?\\d{5})’)*
7979

80-
### recom_mem_patt *= re.compile(‘Use %mem=([0-9]+)MW to provide the minimum amount of memory required to complete this step.’)*
80+
### recom_mem_patt *= re.compile(‘Use %mem=([0-9]+)MW to provide the minimum amount of memory required to complete this step.’)*
8181

8282
## *class* custodian.gaussian.handlers.WallTimeErrorHandler(wall_time: int, buffer_time: int, input_file: str, output_file: str, stderr_file: str = ‘stderr.txt’, prefix: str = ‘error’)
8383

@@ -110,7 +110,7 @@ Check if the job is nearing the walltime. If so, return True, else False.
110110

111111
Perform the corrections.
112112

113-
### is_monitor\*: bool\* *= True*
113+
### is_monitor\*: bool\* *= True*
114114

115115
This class property indicates whether the error handler is a monitor,
116116
i.e., a handler that monitors a job as it is running. If a

docs/custodian.nwchem.jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A basic Nwchem job.
1717
Initializes a basic NwChem job.
1818

1919
* **Parameters**
20-
* **nwchem_cmd** ( *[**str**]*) – Command to run Nwchem as a list of args. For
20+
* **nwchem_cmd** ( *[**str**]*) – Command to run Nwchem as a list of args. For
2121
example, [“nwchem”].
2222
* **input_file** (*str*) – Input file to run. Defaults to “mol.nw”.
2323
* **output_file** (*str*) – Name of file to direct standard out to.
@@ -27,7 +27,7 @@ Initializes a basic NwChem job.
2727
Defaults to True.
2828
* **gzipped** (*bool*) – Deprecated. Please use the Custodian class’s
2929
gzipped_output option instead.
30-
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to override changes.
30+
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to override changes.
3131
#TODO: Not implemented yet.
3232

3333
### postprocess()

docs/custodian.utils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Backup files to a tar.gz file. Used, for example, in backing up the
1414
files of an errored run before performing corrections.
1515

1616
* **Parameters**
17-
* **filenames** ( *[**str**]*) – List of files to backup. Supports wildcards, e.g.,
17+
* **filenames** ( *[**str**]*) – List of files to backup. Supports wildcards, e.g.,
1818
*.*.
1919
* **prefix** (*str*) – prefix to the files. Defaults to error, which means a
2020
series of error.1.tar.gz, error.2.tar.gz, … will be generated.

docs/custodian.vasp.interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A Modder for VaspInputSets.
1717
Initializes a Modder for VaspInput sets
1818

1919
* **Parameters**
20-
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
20+
* **actions** ( *[**Action**]*) – A sequence of supported actions. See
2121
[`custodian.ansible.actions`](custodian.ansible.actions.md#module-custodian.ansible.actions). Default is None,
2222
which means DictActions and FileActions are supported.
2323
* **strict** (*bool*) – Indicating whether to use strict mode. In non-strict

docs/custodian.vasp.jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ of the static constructors. The defaults are usually fine too.
7171
gamma optimized version of VASP instead of regular VASP. You
7272
can also specify the gamma vasp command using the
7373
gamma_vasp_cmd argument if the command is named differently.
74-
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to
74+
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to
7575
override changes. For example, to set ISTART=1 for subsequent
7676
runs and to copy the CONTCAR to the POSCAR, you will provide:
7777

@@ -269,7 +269,7 @@ usually fine too.
269269
auto_gamma is True. Should follow the list style of
270270
subprocess. Defaults to None, which means “.gamma” is added
271271
to the last argument of the standard vasp_cmd.
272-
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to
272+
* **settings_override** ( *[**dict**]*) – An ansible style list of dict to
273273
override changes. For example, to set ISTART=1 for subsequent
274274
runs and to copy the CONTCAR to the POSCAR, you will provide:
275275

0 commit comments

Comments
 (0)