-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Choose analysis/debug.conf file based on ENV var
Added new environment variable PROD_STAGE. If this is set to TRUE, then the debug.conf.internal.json will be selected as the conf file. Else, the existing try-catch block is executed which either checks for a debug.conf.json or uses the sample file if the former does not exist. The try part is still valid, since some Test files copy over the sample file as debug.conf.json, then reload the config in eac.reload_config() which would need reading from debug.conf.json as well. Hence, now three files exist: - debug.conf.json.sample - debug.conf.json - debug.conf.json.internal
- Loading branch information
Mahadik, Mukul Chandrakant
authored and
Mahadik, Mukul Chandrakant
committed
Apr 1, 2024
1 parent
20e1856
commit 4a1005e
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"intake.segmentation.section_segmentation.sectionValidityAssertions": true, | ||
"intake.cleaning.clean_and_resample.speedDistanceAssertions": false, | ||
"intake.cleaning.clean_and_resample.sectionValidityAssertions": false, | ||
"intake.cleaning.filter_accuracy.enable": false, | ||
"classification.inference.mode.useAdvancedFeatureIndices": true, | ||
"classification.inference.mode.useBusTrainFeatureIndices": true, | ||
"classification.validityAssertions": true, | ||
"output.conversion.validityAssertions": true, | ||
"section.startStopRadius": 150, | ||
"section.endStopRadius": 150, | ||
"analysis.result.section.key": "analysis/inferred_section", | ||
"userinput.keylist": ["manual/mode_confirm", "manual/purpose_confirm", "manual/replaced_mode", "manual/trip_user_input"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters