fieldname_clean¶
- fieldname_clean(field: str) str[source]¶
Indicate if the fieldname is allowed as-is.
This utility function replaces special characters in string with underscore. The return string is used in fieldname_for_casa() function to determine whether the field name, when given as a CASA argument, should be enclosed in quotes.
Examples: >>> fieldname_clean('helm=30') 'helm_30'