usdot-fhwa-stol / carma-analytics-fotda

CARMA Analytics is a secure, scalable and cloud agnostic data architecture to enable research analysis on big data sets by defining repeatable and scalable processes for ingesting data, creation of a data repository to fuse, process and perform quality assurance.
Apache License 2.0
3 stars 3 forks source link

Potential fix txt file is empty for PET script VRU #60

Closed MishkaMN closed 5 months ago

MishkaMN commented 5 months ago

PR Details

Description

This PR attempts to fix the issue where sometimes txt files are not populated with the results from the process. Individual scripts logic themselves that print to a txt file don't have a problem (I got results fine from all through runs). However, I did see that it was not populating when I first tried it. When I started debugging by printing the results in the main script, it started working fine consistently, so not sure why or when it fails. Therefore, currently this PR: 1) forces to print the output which hopefully fixes the issue altogether mimicking what I was doing when debugging 2) if doesnt populate the txt file, then catch it and notify.

Related GitHub Issue

NA

Related Jira Key

https://usdot-carma.atlassian.net/browse/CDAR-866

Motivation and Context

VRU use case data analysis

How Has This Been Tested?

sim pc 1

Types of changes

Checklist: