@@ -79,7 +79,8 @@ def set_output_directory(args):
7979
8080
8181def _expand_user_input (args ):
82- """Expand the list of inputs by adding files from file lists and wildcards.
82+ """Expand the list of inputs by adding files from file lists and
83+ wildcards.
8384
8485 Parameters
8586 ----------
@@ -115,9 +116,9 @@ def _expand_user_input(args):
115116
116117
117118def set_input_lists (args ):
118- """Set input directory and files. It takes cli inputs, checks if they are
119- files or directories and creates a list of files to be processed which is
120- stored in the args Namespace.
119+ """Set input directory and files. It takes cli inputs, checks if
120+ they are files or directories and creates a list of files to be
121+ processed which is stored in the args Namespace.
121122
122123 Parameters
123124 ----------
@@ -278,8 +279,8 @@ def set_wavelength(args):
278279
279280
280281def set_xtype (args ):
281- """Set the xtype based on the given input arguments, raise an error if
282- xtype is not one of {*XQUANTITIES, }.
282+ """Set the xtype based on the given input arguments, raise an error
283+ if xtype is not one of {*XQUANTITIES, }.
283284
284285 Parameters
285286 ----------
@@ -334,8 +335,8 @@ def _parse_theoretical_input(input_str):
334335
335336
336337def _set_theoretical_mud_from_density (args ):
337- """Theoretical estimation of mu*D from sample composition, energy, and
338- sample mass density."""
338+ """Theoretical estimation of mu*D from sample composition, energy,
339+ and sample mass density."""
339340 sample_composition , energy , sample_mass_density = _parse_theoretical_input (
340341 args .theoretical_from_density
341342 )
@@ -351,8 +352,8 @@ def _set_theoretical_mud_from_density(args):
351352
352353
353354def _set_theoretical_mud_from_packing (args ):
354- """Theoretical estimation of mu*D from sample composition, energy, and
355- packing fraction."""
355+ """Theoretical estimation of mu*D from sample composition, energy,
356+ and packing fraction."""
356357 sample_composition , energy , packing_fraction = _parse_theoretical_input (
357358 args .theoretical_from_packing
358359 )
@@ -404,8 +405,8 @@ def _load_key_value_pair(s):
404405
405406
406407def load_user_metadata (args ):
407- """Load user metadata into args, raise ValueError if it is in incorrect
408- format.
408+ """Load user metadata into args, raise ValueError if it is in
409+ incorrect format.
409410
410411 Parameters
411412 ----------
@@ -445,8 +446,9 @@ def load_user_metadata(args):
445446
446447def load_user_info (args ):
447448 """Load user info into args. If none is provided, call
448- check_and_build_global_config function from diffpy.utils to prompt the user
449- for inputs. Otherwise, call get_user_info with the provided arguments.
449+ check_and_build_global_config function from diffpy.utils to prompt
450+ the user for inputs. Otherwise, call get_user_info with the provided
451+ arguments.
450452
451453 Parameters
452454 ----------
@@ -493,9 +495,9 @@ def load_package_info(args):
493495
494496
495497def preprocessing_args (args ):
496- """Perform preprocessing on the provided args. The process includes loading
497- package and user information, setting input, output, wavelength, anode
498- type, xtype, mu*D, and loading user metadata.
498+ """Perform preprocessing on the provided args. The process includes
499+ loading package and user information, setting input, output,
500+ wavelength, anode type, xtype, mu*D, and loading user metadata.
499501
500502 Parameters
501503 ----------
@@ -519,8 +521,8 @@ def preprocessing_args(args):
519521
520522
521523def load_metadata (args , filepath ):
522- """Load the relevant metadata from args to write into the header of the
523- output files.
524+ """Load the relevant metadata from args to write into the header of
525+ the output files.
524526
525527 Parameters
526528 ----------
0 commit comments