Skip to content

Commit

Permalink
remove debugging print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAkhmetov committed Jul 18, 2024
1 parent 7ae5091 commit 732a3dd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/portal_visualization/builder_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,10 @@ def get_view_config_builder(entity, get_assaytype, parent=None):
is_support,
) = process_hints(hints)

print(entity)
print(hints)
print("parent:", parent)

# vis-lifted image pyramids
if parent is not None:
print('is support? ', is_support)
print('is image? ', is_image)
if is_support and is_image:
print("parent: ", parent)
ancestor_assaytype = get_assaytype(parent).get("assaytype")
print("ancestor assaytype: ", ancestor_assaytype)
if SEQFISH == ancestor_assaytype:
# e.g. parent = c6a254b2dc2ed46b002500ade163a7cc
# e.g. support = 9db61adfc017670a196ea9b3ca1852a0
Expand Down Expand Up @@ -142,8 +134,5 @@ def get_view_config_builder(entity, get_assaytype, parent=None):


def has_visualization(entity, get_assaytype, parent=None):
print("entity: ", entity)
if (parent is not None):
print("parent: ", parent)
builder = get_view_config_builder(entity, get_assaytype, parent)
return builder != NullViewConfBuilder

0 comments on commit 732a3dd

Please sign in to comment.