@@ -317,6 +317,8 @@ def __init__(self,
317317 dtype (str): default dtype for internal structures
318318 automatic_summary (bool): automatically generate summary after loading
319319 read_all (bool): whether to read all records for log
320+ filter_patterns (list of strings): list of Python regex strings to match against
321+ filter_mode (str): filter mode to use (either "exclude" or "include")
320322
321323 Return:
322324 None
@@ -411,6 +413,8 @@ def open(self, filename, read_all=False, filter_patterns=None, filter_mode="excl
411413 Args:
412414 filename (str): filename to open (optional)
413415 read_all (bool): whether to read all records for log
416+ filter_patterns (list of strings): list of Python regex strings to match against
417+ filter_mode (str): filter mode to use (either "exclude" or "include")
414418
415419 Return:
416420 None
@@ -521,7 +525,8 @@ def read_all(self, dtype=None, filter_patterns=None, filter_mode="exclude"):
521525 Read all available records from darshan log and return as dictionary.
522526
523527 Args:
524- None
528+ filter_patterns (list of strings): list of Python regex strings to match against
529+ filter_mode (str): filter mode to use (either "exclude" or "include")
525530
526531 Return:
527532 None
@@ -547,7 +552,8 @@ def read_all_generic_records(self, counters=True, fcounters=True, dtype=None,
547552 Read all generic records from darshan log and return as dictionary.
548553
549554 Args:
550- None
555+ filter_patterns (list of strings): list of Python regex strings to match against
556+ filter_mode (str): filter mode to use (either "exclude" or "include")
551557
552558 Return:
553559 None
@@ -566,7 +572,8 @@ def read_all_dxt_records(self, reads=True, writes=True, dtype=None,
566572 Read all dxt records from darshan log and return as dictionary.
567573
568574 Args:
569- None
575+ filter_patterns (list of strings): list of Python regex strings to match against
576+ filter_mode (str): filter mode to use (either "exclude" or "include")
570577
571578 Return:
572579 None
@@ -636,6 +643,8 @@ def mod_read_all_records(self, mod, dtype=None, warnings=True,
636643 Args:
637644 mod (str): Identifier of module to fetch all records
638645 dtype (str): 'numpy' for ndarray (default), 'dict' for python dictionary, 'pandas'
646+ filter_patterns (list of strings): list of Python regex strings to match against
647+ filter_mode (str): filter mode to use (either "exclude" or "include")
639648
640649 Return:
641650 None
@@ -819,6 +828,8 @@ def mod_read_all_dxt_records(self, mod, dtype=None, warnings=True, reads=True, w
819828 Args:
820829 mod (str): Identifier of module to fetch all records
821830 dtype (str): 'numpy' for ndarray (default), 'dict' for python dictionary
831+ filter_patterns (list of strings): list of Python regex strings to match against
832+ filter_mode (str): filter mode to use (either "exclude" or "include")
822833
823834 Return:
824835 None
@@ -872,6 +883,8 @@ def mod_read_all_lustre_records(self, dtype=None, warnings=True,
872883
873884 Args:
874885 dtype (str): 'numpy' for ndarray (default), 'dict' for python dictionary
886+ filter_patterns (list of strings): list of Python regex strings to match against
887+ filter_mode (str): filter mode to use (either "exclude" or "include")
875888
876889 Return:
877890 None
0 commit comments