Skip to content

Commit

Permalink
ENCD-3916 Fix for broken metadata queries (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
kakaly authored and caseylitton committed Mar 26, 2018
1 parent 463b4d7 commit 12ad003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoded/batch_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def metadata_tsv(context, request):
results = request.embed(path, as_user=True)
rows = []
for experiment_json in results['@graph']:
if experiment_json['files']:
if experiment_json.get('files', []):
exp_data_row = []
for column in header:
if not _tsv_mapping[column][0].startswith('files'):
Expand Down

0 comments on commit 12ad003

Please sign in to comment.