Append Source#

Summary#

Append an ioSource to the available data sources

Metadata#

  • Module ID: AppendSource

  • Module path: /home/runner/work/MoDaCor/MoDaCor/src/modacor/modules/base_modules/append_source.py

  • Module version: 20251030.1

  • Keywords: append, source

Required data keys#

  • None

Modifies#

  • None

Required arguments#

  • source_identifier

  • source_location

  • iosource_module

Default configuration#

{
  "iosource_method_kwargs": {},
  "iosource_module": "",
  "source_identifier": "",
  "source_location": ""
}

Argument specification#

Argument

Type

Required

Default

Description

iosource_method_kwargs

dict

No

{}

Keyword arguments forwarded to the ioSource constructor.

iosource_module

str

Yes

Fully qualified module path to the ioSource class.

source_identifier

str or list

Yes

Identifier(s) to register the ioSource(s) under.

source_location

str or list

Yes

Resource location(s) to load for the ioSource(s).

Notes#

This adds an ioSource to the data sources of the databundle.