You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'"dpp_suggestions" field required but not found in package to process Suggestion Formulae. Ensure that your scheming.yaml file contains the "dpp_suggestions" field as a json_object.'
1239
+
'"dpp_suggestions" field required but not found in your schema. Ensure that your scheming.yaml file contains the "dpp_suggestions" field as a json_object.'
1231
1240
)
1232
1241
return
1242
+
else:
1243
+
logger.info(
1244
+
'Found "dpp_suggestions" field in schema'
1245
+
)
1246
+
1247
+
# add "dpp_suggestions" to package if it does not exist
1248
+
if"dpp_suggestions"notinpackage:
1249
+
1250
+
logger.warning(
1251
+
'Warning: "dpp_suggestions" field required to process Suggestion Formulae is not found in this package . Adding "dpp_suggestions" to package'
1252
+
)
1253
+
1254
+
try:
1255
+
package["dpp_suggestions"] = {}
1256
+
dsu.patch_package(package)
1257
+
logger.error(
1258
+
'"dpp_suggestions" field added to package'
1259
+
)
1260
+
1261
+
exceptExceptionase:
1262
+
logger.error(
1263
+
'Error adding "dpp_suggestions" field {}'.format( e )
0 commit comments