|
42 | 42 | # the user for necessary information, and parsing the cFS header files, this |
43 | 43 | # program will generate up to two different "pickle" files for the ground |
44 | 44 | # system to use (for information about pickle files and the pickle python |
45 | | -# libary, see the link here: https://docs.python.org/3/library/pickle.html). |
| 45 | +# library, see the link here: https://docs.python.org/3/library/pickle.html). |
46 | 46 | # These files will be placed in CommandFiles/ or ParameterFiles/. |
47 | 47 | # |
48 | 48 | # Usage: |
@@ -129,7 +129,7 @@ def getFileList(filename='CHeaderParser-hdr-paths.txt'): |
129 | 129 | # create empty list for dumping header data |
130 | 130 | master_hdr = [] |
131 | 131 |
|
132 | | - # Concatonate all headers into one variable for referencing |
| 132 | + # Concatenate all headers into one variable for referencing |
133 | 133 | for hdr_file in file_list: |
134 | 134 | # open header file as single header |
135 | 135 | with open(hdr_file) as single_hdr: |
@@ -257,7 +257,7 @@ def getFileList(filename='CHeaderParser-hdr-paths.txt'): |
257 | 257 | f"You entered {command_choice}, but that isn't an option.") |
258 | 258 | else: |
259 | 259 | ## Choices are presented to user starting at 1, but list |
260 | | - ## indicies start at 0 |
| 260 | + ## indices start at 0 |
261 | 261 | command_choice -= 1 |
262 | 262 | cmdName = unused_cmdDesc[command_choice] |
263 | 263 |
|
@@ -405,7 +405,7 @@ def getFileList(filename='CHeaderParser-hdr-paths.txt'): |
405 | 405 | # Add original data type (C data type) to list |
406 | 406 | dataTypesOrig.append(line_split[0]) |
407 | 407 |
|
408 | | - # Get rid of any occurance of ';' (at the end of the line) |
| 408 | + # Get rid of any occurence of ';' (at the end of the line) |
409 | 409 | paramNames.append(re.sub(';', '', line_split[1])) |
410 | 410 |
|
411 | 411 | # Not sure about why we are keeping track of this yet |
|
0 commit comments