Jun-10-2024, 02:55 PM
(Jun-09-2024, 11:50 PM)Skaperen Wrote: what error message do you get? does it say your variable (name) has disappeared? reappeared? is undefined? is transparent? can't be found? is hidden?
or do you get no error and just have wrong answers?
I finally figured it out. What was happening was when I ran the data through the if statement print statements kept putting out zero. As it turns out, there was an issue with how the files that didn't pass my filter were being saved downstream of the if statement. It cause my program to only save zeros to the file which were then passed back through the filter on subsequent iterations. The variable kept being printed fine because that was the variable I was comparing my saved files against. Sorry if that sounds a little confusing. This program is already 600 lines, so tracking down bugs gets a little weird.