gwosc-tutorial / gwosc-catalog

Scripts and modules to be used in community catalog uploads to GWOSC website
0 stars 0 forks source link

Fix validation modifying the input catalog #63

Closed martinberoiz closed 1 week ago

martinberoiz commented 1 week ago

This makes (shallow) copies of the dict passed in .from_json on each class so that it will not modify its input when popping certain fields.

It also adds a idempotent test and a comparison test made with deepdiff.

This fixes #62.