Hello,
I have a Python expression that utilizes a code block that I am trying to run as a field calculation (manual or with Field Calculator geoprocessing tool). The code runs without issue, but returns nulls even if I hard-code the return value to a simple string. I have tried going through line by line to better understand where/why it is not working. Best I can tell is it fails once I try to round a number. The code does include some lists, dictionaries, and loops, but it works fine when I run in an independent Python IDE with hardcoded input