I am working on a file GDB containing polygons with multiple fields and values. One of the text fields of that GDB is filled by applying a python script that uses the information of many other fields to generate the text values.
That script works very well, but I need to add an exclusion rule at the beginning so it will not be applied on certain polygons based on specific values from a certain field (the goal is not to overwrite the values of those polygons which values are gonna be manually written before running the script).
In applied words, the script gives an Ecosystem name for each polygon based on biological and geomorphological field values, but I don't want the script to be processed on polygons that contains validation data from a certain source. In that case, it means I don't want it to be processed when the ''Validation'' field equals 4 specific values (which are specific sources of validation), because those Ecosystem names have to and are written manually before running the script and I don't want to overwrite them. (See the screenshot I've joined)
I should specify that I am not the one that wrote the script initially. The person left so I need to find my way around and I am a complete beginner in python scripting. I was hoping someone could give me a hand and tell me if there is a straightforward way for this. Thank you!!!