Skip to content
Snippets Groups Projects
Commit 4eaec628 authored by Trent Hare's avatar Trent Hare Committed by Jesse Mapel
Browse files

In support of a domain code review, fix spelling errors

To support a domain code review, this commit largely addresses minor spelling issues in the code's comments. There are a few exceptions listed below.

- ale\base\type_sensor.py : typo fixed in the code line [181](https://github.com/USGS-Astrogeology/ale/blob/ce3a77cb5fb5749bbc67e0e8bd8a82235cb395c5/ale/base/type_sensor.py#L181)
- ale\drivers\co_drivers.py : apparent value typo in line [75](https://github.com/USGS-Astrogeology/ale/blob/ce3a77cb5fb5749bbc67e0e8bd8a82235cb395c5/ale/drivers/co_drivers.py#L75). please validate update.
- ale\util.py : internal only to the script, the function named "case_sensative" was updated to correct misspelling
- tests\pytests\test_cassini_drivers.py : internal only to the script (and test_util.py), the function named "read_detatched_table" was updated to correct misspelling
- tests\pytests\test_lro_drivers.py : unnecessary semicolon was removed.
- tests\pytests\test_util.py see _test_cassini_drivers.py_ for same update above.
parent 290eefbe
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ def test_load_mes_with_no_metakernels(tmpdir, monkeypatch, mess_kernels):
label_file = get_image_label('EN1072174528M')
tmpdir.mkdir('mes')
# intentially make an mk file with wrong year
# intentionally make an mk file with wrong year
with open(tmpdir.join('mes', 'mes_2016_v1.tm'), 'w+') as mk_file:
mk_str = util.write_metakernel_from_kernel_list(updated_kernels)
print(mk_str)
......
......@@ -44,7 +44,7 @@ def test_load(test_kernels, label_type, image, kernel_type):
compare_isd = image_dict[image]
else:
label_file = get_image(image)
isd_str = ale.loads(label_file);
isd_str = ale.loads(label_file)
compare_isd = get_isd('lro_isis')
isd_obj = json.loads(isd_str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment