This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #/* | |
| # * Copyright (c) 2024 Janne Jakob Fleischer (ILS gGmbH). | |
| # * | |
| # * This program is free software: you can redistribute it and/or modify | |
| # * it under the terms of the GNU General Public License as published by | |
| # * the Free Software Foundation, version 3. | |
| # * | |
| # * This program is distributed in the hope that it will be useful, but | |
| # * WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #: the fields in the feature class | |
| actual = set([str(x.name) for x in arcpy.ListFields(r'')]) | |
| #: the fields you are trying to use | |
| expected = set([]) | |
| fouled_up = expected - actual |