linefinder.utils.trove_management module¶
Code for managing data troves.
@author: Zach Hafen @contact: zachary.h.hafen@gmail.com @status: Development
-
class
linefinder.utils.trove_management.
LinefinderTroveManager
(file_format, *args)[source]¶ Bases:
galaxy_dive.data_management.trove_management.TroveManager
Class for managing troves of data.
-
combinations
¶ All combinations of arguments.
Type: Returns
-
data_files
¶ All data files that should be part of the trove.
Type: Returns
-
get_file
(*args)[source]¶ Default method for getting the data filename.
Parameters: *args – Arguments provided. Assumes args[0] is the data dir. Returns: Filename for a given combination of args.
-
get_incomplete_combinations
()¶ Returns: Combinations in the trove that have not yet been done.
-
get_incomplete_data_files
()¶ Returns: Data files in the trove that have not yet been done.
-
get_next_args_to_use
(when_done='return_last')¶ Is this necessary? No. This function is really a wrapper that in essence provides documentation.
Parameters: when_done (str) – What to do when there are no incomplete combinations? Defaults to returning the last of self.combinations. Returns: Next set of arguments to use.
-