biocompute-objects / portal_userdb

1 stars 1 forks source link

Comparison of two workflows #396

Closed HadleyKing closed 3 months ago

HadleyKing commented 4 months ago

Implementation of a programmatic tool that will compare the metadata of the two different versioned workflows.

HadleyKing commented 4 months ago

https://zepworks.com/deepdiff/current/

just take in two json objects, serialize them into python dictionaries using json load or any other way, call DeepDiff and that gives the user a breakdown of all the things that are different in the second object

probably would want to set ignore_order to True since JSON doesn't guarantee object ordering you'll get a lot of false positive differences if taking into account ordering

kee007ney commented 3 months ago

Might be ok, but I worry that it's too general. One of the Seans' tools is more BCO-specific and might be better suited to BCO diff-ing?

HadleyKing commented 3 months ago

https://test.portal.biochemistry.gwu.edu/api/docs/#/BCO%20Management/api_bco_compare