@@ -370,7 +370,7 @@ def extract_lems_definition_files(path=None):
370370 return path
371371
372372
373- def list_exposures (nml_doc_fn , substring = None ):
373+ def list_exposures (nml_doc_fn , substring = "" ):
374374 # type: (str, str) -> typing.Union[typing.Dict[lems_model.component.Component, typing.List[lems_model.component.Exposure]], None]
375375 """List exposures in a NeuroML model document file.
376376
@@ -396,8 +396,8 @@ def list_exposures(nml_doc_fn, substring=None):
396396 return get_standalone_lems_model (nml_doc_fn ).list_exposures (substring )
397397
398398
399- def list_recording_paths_for_exposures (nml_doc_fn , substring ):
400- # type: (str, str) -> typing.List[str]
399+ def list_recording_paths_for_exposures (nml_doc_fn , substring = "" , target = "" ):
400+ # type: (str, str, str ) -> typing.List[str]
401401 """List the recording path strings for exposures.
402402
403403 This wraps around `lems.model.list_recording_paths` to list the recording
@@ -413,7 +413,7 @@ def list_recording_paths_for_exposures(nml_doc_fn, substring):
413413 :returns: list of recording paths
414414
415415 """
416- return get_standalone_lems_model (nml_doc_fn ).list_recording_paths_for_exposures (substring )
416+ return get_standalone_lems_model (nml_doc_fn ).list_recording_paths_for_exposures (substring , target )
417417
418418
419419def get_standalone_lems_model (nml_doc_fn ):
0 commit comments