Skip to content

Commit

Permalink
higlass_opf_fix: Not every opf group has a Higlass item.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadius committed Apr 3, 2019
1 parent 5f4087b commit ab35d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chalicelib/checks/higlass_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ def patch_expsets_otherprocessedfiles_for_higlass_viewconf(connection, **kwargs)
# The other_processed_files section has been updated. Patch the changes.
try:
# Make sure all higlass_view_config fields just show the uuid.
for g in expsets_to_update[accession]["other_processed_files"]:
for g in [ group for group in expsets_to_update[accession]["other_processed_files"] if "higlass_view_config" in group ]:
if isinstance(g["higlass_view_config"], dict):
uuid = g["higlass_view_config"]["uuid"]
g["higlass_view_config"] = uuid
Expand Down

0 comments on commit ab35d11

Please sign in to comment.