MCPcopy Create free account
hub / github.com/RenderKit/oidn / get_feature_opt

Function get_feature_opt

scripts/test.py:163–169  ·  view source on GitHub ↗
(feature)

Source from the content-addressed store, hash-verified

161
162# Gets the option name of a feature
163def get_feature_opt(feature):
164 if feature == 'calb':
165 return 'alb'
166 elif feature == 'cnrm':
167 return 'nrm'
168 else:
169 return feature
170
171# Gets the file extension of a feature
172def get_feature_ext(feature):

Callers 2

get_feature_extFunction · 0.85
test_regressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected