@@ -114,10 +114,9 @@ def _expand_user_input(args):
114114
115115
116116def set_input_lists (args ):
117- """Set input directory and files.
118- It takes cli inputs, checks if they are files or directories
119- and creates a list of files to be processed
120- which is stored in the args Namespace.
117+ """Set input directory and files. It takes cli inputs, checks if they are
118+ files or directories and creates a list of files to be processed which is
119+ stored in the args Namespace.
121120
122121 Parameters
123122 ----------
@@ -278,8 +277,8 @@ def set_wavelength(args):
278277
279278
280279def set_xtype (args ):
281- """Set the xtype based on the given input arguments,
282- raise an error if xtype is not one of {*XQUANTITIES, }.
280+ """Set the xtype based on the given input arguments, raise an error if
281+ xtype is not one of {*XQUANTITIES, }.
283282
284283 Parameters
285284 ----------
@@ -334,8 +333,8 @@ def _parse_theoretical_input(input_str):
334333
335334
336335def _set_theoretical_mud_from_density (args ):
337- """Theoretical estimation of mu*D from
338- sample composition, energy, and sample mass density."""
336+ """Theoretical estimation of mu*D from sample composition, energy, and
337+ sample mass density."""
339338 sample_composition , energy , sample_mass_density = _parse_theoretical_input (
340339 args .theoretical_from_density
341340 )
@@ -351,8 +350,8 @@ def _set_theoretical_mud_from_density(args):
351350
352351
353352def _set_theoretical_mud_from_packing (args ):
354- """Theoretical estimation of mu*D from
355- sample composition, energy, and packing fraction."""
353+ """Theoretical estimation of mu*D from sample composition, energy, and
354+ packing fraction."""
356355 sample_composition , energy , packing_fraction = _parse_theoretical_input (
357356 args .theoretical_from_packing
358357 )
@@ -404,8 +403,8 @@ def _load_key_value_pair(s):
404403
405404
406405def load_user_metadata (args ):
407- """Load user metadata into args,
408- raise ValueError if it is in incorrect format.
406+ """Load user metadata into args, raise ValueError if it is in incorrect
407+ format.
409408
410409 Parameters
411410 ----------
@@ -444,10 +443,9 @@ def load_user_metadata(args):
444443
445444
446445def load_user_info (args ):
447- """Load user info into args.
448- If none is provided, call check_and_build_global_config function
449- from diffpy.utils to prompt the user for inputs.
450- Otherwise, call get_user_info with the provided arguments.
446+ """Load user info into args. If none is provided, call
447+ check_and_build_global_config function from diffpy.utils to prompt the user
448+ for inputs. Otherwise, call get_user_info with the provided arguments.
451449
452450 Parameters
453451 ----------
@@ -474,8 +472,8 @@ def load_user_info(args):
474472
475473
476474def load_package_info (args ):
477- """Load diffpy.labpdfproc package name and version into args
478- using get_package_info function from diffpy.utils.
475+ """Load diffpy.labpdfproc package name and version into args using
476+ get_package_info function from diffpy.utils.
479477
480478 Parameters
481479 ----------
@@ -494,10 +492,9 @@ def load_package_info(args):
494492
495493
496494def preprocessing_args (args ):
497- """Perform preprocessing on the provided args.
498- The process includes loading package and user information,
499- setting input, output, wavelength, anode type, xtype, mu*D,
500- and loading user metadata.
495+ """Perform preprocessing on the provided args. The process includes loading
496+ package and user information, setting input, output, wavelength, anode
497+ type, xtype, mu*D, and loading user metadata.
501498
502499 Parameters
503500 ----------
@@ -521,8 +518,8 @@ def preprocessing_args(args):
521518
522519
523520def load_metadata (args , filepath ):
524- """Load the relevant metadata from args
525- to write into the header of the output files.
521+ """Load the relevant metadata from args to write into the header of the
522+ output files.
526523
527524 Parameters
528525 ----------
0 commit comments