nih-cfde / cfde-deriva

Collaboration point for miscellaneous CFDE-deriva scripts
Other
2 stars 3 forks source link

metrics.py updates #337

Closed DavidKelly-Praedictus closed 2 years ago

DavidKelly-Praedictus commented 2 years ago

Fix some missing return statements and misnamed function calls Dictionary values() are not json serializable, so convert them to a list In c2m2_assessment, some 'value' values are None because the assessment was skipped - set those to optional.

DavidKelly-Praedictus commented 2 years ago

I've made some changes to my script. Dictionaries with 'value' set to None won't be added. I've switched back to 'value' being required and added the missing header info.