Skip to content

Commit

Permalink
Update strax/context.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WenzDaniel authored Dec 19, 2023
1 parent 1d37198 commit 957164e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions strax/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1834,9 +1834,13 @@ def compare_metadata(self, data1, data2, return_results=False):
example usage:
context.compare_metadata( ("053877", "peak_basics"), "./my_path_to/JSONfile.json")
first_metadata = context.get_metadata(run_id, "events")
context.compare_metadata( ("053877", "peak_basics"), first_metadata)
context.compare_metadata( ("053877", "records"), ("053899", "records") )
results_dict = context.compare_metadata( ("053877", "peak_basics"), ("053877", "events_info"), return_results=True)
context.compare_metadata(
("053877", "peak_basics"), first_metadata)
context.compare_metadata(
("053877", "records"), ("053899", "records") )
results_dict = context.compare_metadata(
("053877", "peak_basics"), ("053877", "events_info"),
return_results=True)
"""

Expand Down

0 comments on commit 957164e

Please sign in to comment.