diff --git a/src/fprime_gds/common/loaders/cmd_json_loader.py b/src/fprime_gds/common/loaders/cmd_json_loader.py index f449f7e1..a0a47dd5 100644 --- a/src/fprime_gds/common/loaders/cmd_json_loader.py +++ b/src/fprime_gds/common/loaders/cmd_json_loader.py @@ -12,7 +12,7 @@ class CmdJsonLoader(JsonLoader): - """Class to load xml based command dictionaries""" + """Class to load json based command dictionaries""" COMMANDS_FIELD = "commands" diff --git a/src/fprime_gds/common/loaders/event_json_loader.py b/src/fprime_gds/common/loaders/event_json_loader.py index b94540c7..e1c43f70 100644 --- a/src/fprime_gds/common/loaders/event_json_loader.py +++ b/src/fprime_gds/common/loaders/event_json_loader.py @@ -13,7 +13,7 @@ class EventJsonLoader(JsonLoader): - """Class to load xml based event dictionaries""" + """Class to load json based event dictionaries""" EVENTS_FIELD = "events" diff --git a/src/fprime_gds/common/tools/seqgen.py b/src/fprime_gds/common/tools/seqgen.py index 5d21ee8d..7cb8645d 100644 --- a/src/fprime_gds/common/tools/seqgen.py +++ b/src/fprime_gds/common/tools/seqgen.py @@ -22,7 +22,7 @@ from fprime_gds.common.data_types import exceptions as gseExceptions from fprime_gds.common.data_types.cmd_data import CmdData, CommandArgumentsException from fprime_gds.common.encoders.seq_writer import SeqBinaryWriter -from fprime_gds.common.loaders.cmd_xml_loader import CmdXmlLoader +from fprime_gds.common.loaders.cmd_json_loader import CmdJsonLoader from fprime_gds.common.parsers.seq_file_parser import SeqFileParser __author__ = "Tim Canham" @@ -56,9 +56,9 @@ def generateSequence(inputFile, outputFile, dictionary, timebase, cont=False): raise SeqGenException(msg) # Check the user environment: - cmd_xml_dict = CmdXmlLoader() + cmd_json_dict = CmdJsonLoader(dictionary) try: - (cmd_id_dict, cmd_name_dict, versions) = cmd_xml_dict.construct_dicts( + (cmd_id_dict, cmd_name_dict, versions) = cmd_json_dict.construct_dicts( dictionary ) except gseExceptions.GseControllerUndefinedFileException: