@@ -76,7 +76,8 @@ def set_output_directory(args):
7676
7777
7878def _expand_user_input (args ):
79- """Expand the list of inputs by adding files from file lists and wildcards.
79+ """Expand the list of inputs by adding files from file lists and
80+ wildcards.
8081
8182 Parameters
8283 ----------
@@ -112,9 +113,9 @@ def _expand_user_input(args):
112113
113114
114115def set_input_lists (args ):
115- """Set input directory and files. It takes cli inputs, checks if they are
116- files or directories and creates a list of files to be processed which is
117- stored in the args Namespace.
116+ """Set input directory and files. It takes cli inputs, checks if
117+ they are files or directories and creates a list of files to be
118+ processed which is stored in the args Namespace.
118119
119120 Parameters
120121 ----------
@@ -293,8 +294,8 @@ def set_wavelength(args):
293294
294295
295296def set_xtype (args ):
296- """Set the xtype based on the given input arguments, raise an error if
297- xtype is not one of {*XQUANTITIES, }.
297+ """Set the xtype based on the given input arguments, raise an error
298+ if xtype is not one of {*XQUANTITIES, }.
298299
299300 Parameters
300301 ----------
@@ -349,8 +350,8 @@ def _parse_theoretical_input(input_str):
349350
350351
351352def _set_theoretical_mud_from_density (args ):
352- """Theoretical estimation of mu*D from sample composition, energy, and
353- sample mass density."""
353+ """Theoretical estimation of mu*D from sample composition, energy,
354+ and sample mass density."""
354355 args = normalize_wavelength (args )
355356 if args .wavelength is None :
356357 args = load_wavelength_from_config_file (args )
@@ -368,8 +369,8 @@ def _set_theoretical_mud_from_density(args):
368369
369370
370371def _set_theoretical_mud_from_packing (args ):
371- """Theoretical estimation of mu*D from sample composition, energy, and
372- packing fraction."""
372+ """Theoretical estimation of mu*D from sample composition, energy,
373+ and packing fraction."""
373374 sample_composition , energy , packing_fraction = _parse_theoretical_input (
374375 args .theoretical_from_packing
375376 )
@@ -424,8 +425,8 @@ def _load_key_value_pair(s):
424425
425426
426427def load_user_metadata (args ):
427- """Load user metadata into args, raise ValueError if it is in incorrect
428- format.
428+ """Load user metadata into args, raise ValueError if it is in
429+ incorrect format.
429430
430431 Parameters
431432 ----------
@@ -465,8 +466,9 @@ def load_user_metadata(args):
465466
466467def load_user_info (args ):
467468 """Load user info into args. If none is provided, call
468- check_and_build_global_config function from diffpy.utils to prompt the user
469- for inputs. Otherwise, call get_user_info with the provided arguments.
469+ check_and_build_global_config function from diffpy.utils to prompt
470+ the user for inputs. Otherwise, call get_user_info with the provided
471+ arguments.
470472
471473 Parameters
472474 ----------
@@ -513,9 +515,9 @@ def load_package_info(args):
513515
514516
515517def preprocessing_args (args ):
516- """Perform preprocessing on the provided args. The process includes loading
517- package and user information, setting input, output, wavelength, anode
518- type, xtype, mu*D, and loading user metadata.
518+ """Perform preprocessing on the provided args. The process includes
519+ loading package and user information, setting input, output,
520+ wavelength, anode type, xtype, mu*D, and loading user metadata.
519521
520522 Parameters
521523 ----------
@@ -541,8 +543,8 @@ def preprocessing_args(args):
541543
542544# Update load_metadata to use 'input_directory' consistently:
543545def load_metadata (args , filepath ):
544- """Load the relevant metadata from args to write into the header of the
545- output files.
546+ """Load the relevant metadata from args to write into the header of
547+ the output files.
546548
547549 Parameters
548550 ----------
0 commit comments