Skip to content

Commit

Permalink
Fixed issue with query ids
Browse files Browse the repository at this point in the history
  • Loading branch information
pauls4GE committed May 25, 2023
1 parent 7884d23 commit 8791f70
Showing 1 changed file with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1404,11 +1404,11 @@ private void createAllRevLogObjs() {
private void createAllSBVTTestObjs() {
System.out.println("Creating SBVT_Test Objects");

// get the header line for all Objective-A7-3-4-query-Boeing-SBVT-Test csv file
// get the header line for all Objective-A7-3-4-query-SBVT-Test csv file
String[] sbvtCols =
CSVUtil.getColumnInfo(
RackQueryUtils.createCsvFilePath(
"Objective-A7-3-4-query-Boeing-SBVT-Test", rackDir));
"Objective-A7-3-4-query-SBVT-Test", rackDir));

int sbvtIdCol = CustomStringUtils.getCSVColumnIndex(sbvtCols, "identifier_sbvt_test");
int resultCol =
Expand Down Expand Up @@ -1750,11 +1750,11 @@ private void createAllSUBDDObjsWithTrace() {
private void createAllSWCOMPObjsWithTrace() {
System.out.println("Creating SWCOMP Objects");

// get the header line for all Objective-A5-5-query-Boeing-swcomponent-subDD-trace csv file
// get the header line for all Objective-A5-5-query-swcomponent-subDD-trace csv file
String[] swcomponentToReqCols =
CSVUtil.getColumnInfo(
RackQueryUtils.createCsvFilePath(
"Objective-A5-5-query-Boeing-swcomponent-subDD-trace", rackDir));
"Objective-A5-5-query-swcomponent-subDD-trace", rackDir));

int swcompIdCol =
CustomStringUtils.getCSVColumnIndex(swcomponentToReqCols, "identifier_swcomponent");
Expand Down Expand Up @@ -1926,7 +1926,7 @@ private void createAllDataObjects() {
*
* @throws Exception
*/
private void queryRackForBoeingPsac() {
private void queryRackForDO178CPsac() {

try {
// clean the outputs directory
Expand Down Expand Up @@ -1959,7 +1959,7 @@ private void queryRackForBoeingPsac() {
private void fetchData() {

// Query RACK
queryRackForBoeingPsac();
queryRackForDO178CPsac();

psacToActivityData =
RackQueryUtils.readCSVFile2(
Expand All @@ -1973,13 +1973,6 @@ private void fetchData() {

/**
* Notes:
*
* <p>1. Using CSVUtils.getRows() instead of RackQueryUtils.readCSVFile2() below because
* RackQueryUtils.readCSVFile2() takes a long time when the text content is large thereby
* slowing down the demo on actual Boeing data. However, the actual boeing data seems to be
* free of the internal comma and newline issues that make it possible to get away with
* using just CSVUtils.getRows() 2. This may sacrifice integrity for speed
*
* <p>TODO: Create an alternative that preserves integrity but is also fast
*/
allSRS =
Expand Down

0 comments on commit 8791f70

Please sign in to comment.