diff --git a/docs/emane.md b/docs/emane.md index 33b6419a..a034c63b 100644 --- a/docs/emane.md +++ b/docs/emane.md @@ -184,6 +184,7 @@ class ExampleModel(emanemodel.EmaneModel): :param emane_prefix: configured emane prefix path :return: nothing """ + cls._load_platform_config(emane_prefix) manifest_path = "share/emane/manifest" # load mac configuration mac_xml_path = emane_prefix / manifest_path / cls.mac_xml diff --git a/package/examples/myemane/examplemodel.py b/package/examples/myemane/examplemodel.py index c33ac166..bd5102e4 100644 --- a/package/examples/myemane/examplemodel.py +++ b/package/examples/myemane/examplemodel.py @@ -64,6 +64,7 @@ class ExampleModel(emanemodel.EmaneModel): :param emane_prefix: configured emane prefix path :return: nothing """ + cls._load_platform_config(emane_prefix) manifest_path = "share/emane/manifest" # load mac configuration mac_xml_path = emane_prefix / manifest_path / cls.mac_xml