79152648

Date: 2024-11-03 12:00:22
Score: 1
Natty:
Report link

The problem was that App was running into an error. In order to prevent data overwriting, it checks to see if the subfolder (containing the results CSVs mentioned in my question) already exists, and raises an error if it does asking the user to move or rename the subfolder. The subfolder already existed when I called the app, and so it raised the error to stderr and I wasn't checking or catching that. I think the simplest fix is to have check = True in the subprocess call to confirm it is completing it properly.

This solution was mainly due to @axerotol who linked me to an answer where they were discussing subprocess calls in detail. This led me to assign the subprocess output to a variable which I then inspected in Spyder, which immediately highlighted the issue.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @axerotol
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tim Kirkwood