Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdarr committed Jun 28, 2017
1 parent 829b1f1 commit 9940453
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scripts/compare_to_results/compare_to_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ def ordered(obj):
if len(gold_standard_json['distributions']) > 0:
if 'access' in gold_standard_json['distributions'][0]:
if 'accessURL' in gold_standard_json['distributions'][0]['access']:
results_json['distributions'][0].pop('access', None)
gold_standard_json['distributions'][0].pop('access', None)
if 'zenodo' in gold_standard_json['distributions'][0]['access']['accessURL']:
results_json['distributions'][0].pop('access', None)
gold_standard_json['distributions'][0].pop('access', None)

if ordered(gold_standard_json) == ordered(results_json):
correct += 1
Expand Down

0 comments on commit 9940453

Please sign in to comment.