Skip to content

Commit

Permalink
Added minirf to lro conf (#29)
Browse files Browse the repository at this point in the history
* Updated for lro minirf

* updated changelog

* Updated megaconfig size

* updated changelog

* Updated mega config size

* Updated changelog again?
  • Loading branch information
AustinSanders authored Apr 29, 2024
1 parent 5f5f89c commit 2dfba0c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ release.
- Adds support for Smart1 [#16](https://github.com/DOI-USGS/SpiceQL/issues/16)
- Adds support for Hayabusa2 ONC [#12](https://github.com/DOI-USGS/SpiceQL/issues/12)
- Adds support for Voyager [#13](https://github.com/DOI-USGS/SpiceQL/issues/13)
- Adds support for LROC MiniRF [#10](https://github.com/DOI-USGS/SpiceQL/issues/10)
- Adds support for MSL [#15](https://github.com/DOI-USGS/SpiceQL/issues/15)

### Fixed
Expand Down
6 changes: 6 additions & 0 deletions SpiceQL/db/lro.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,11 @@
"kernels" : ["lro_lroc_v[0-9]{2}.ti$"]
},
"deps" : ["/moc"]
},
"minirf" : {
"iak" : {
"kernels" : "mrflroAddendum[0-9]{3}.ti$"
},
"deps" : ["/lroc"]
}
}
2 changes: 1 addition & 1 deletion SpiceQL/tests/FunctionalTestsConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using namespace SpiceQL;
TEST_F(TestConfig, FunctionalTestConfigConstruct) {
json megaConfig = testConfig.globalConf();

EXPECT_EQ(megaConfig.size(), 68);
EXPECT_EQ(megaConfig.size(), 69);
}

TEST_F(TestConfig, FunctionalTestConfigEval) {
Expand Down
5 changes: 5 additions & 0 deletions SpiceQL/tests/QueryTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ TEST_F(IsisDataDirectory, FunctionalTestLroConf) {
FAIL() << e << " was not found in the kernel results";
}
}

kernelToCheck = getKernelsAsVector(res.at("minirf").at("iak"));
expected = {"mrflroAddendum002.ti"};
EXPECT_EQ(kernelToCheck, expected);

}


Expand Down
1 change: 1 addition & 0 deletions SpiceQL/tests/data/isisKernelList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12222,6 +12222,7 @@
/usgs/cpkgs/isis3/isis_data/lro/kernels/iak/lro_instrumentAddendum_v01.ti
/usgs/cpkgs/isis3/isis_data/lro/kernels/iak/lro_instrumentAddendum_v03.ti
/usgs/cpkgs/isis3/isis_data/lro/kernels/iak/lro_instrumentAddendum_v04.ti
/usgs/cpkgs/isis3/isis_data/lro/kernels/iak/mrflroAddendum002.ti
/usgs/cpkgs/isis3/isis_data/lro/kernels/spk/fdf29r_2018305_2018335_v01.bsp
/usgs/cpkgs/isis3/isis_data/lro/kernels/spk/fdf29r_2014091_2014121_v01.bsp
/usgs/cpkgs/isis3/isis_data/lro/kernels/spk/fdf29r_2018121_2018152_v01.bsp
Expand Down

0 comments on commit 2dfba0c

Please sign in to comment.