Skip to content

Commit

Permalink
Minor changes to utility/troubleshooting/convenience script view-port…
Browse files Browse the repository at this point in the history
…al-object.
  • Loading branch information
dmichaels-harvard committed Aug 19, 2024
1 parent 662e293 commit db77ebd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dcicutils/scripts/view_portal_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ def get_metadata_types(path: str) -> Optional[dict]:
result = prune_data(result)
if (subtypes and one_or_more_objects_of_types_exists(portal, subtypes, debug=debug) and
(result_uuid := result.get("uuid"))): # noqa
import pdb ; pdb.set_trace() # noqa
# If we have more than (say) 5 results for which we need to determine that actual result type,
# then get them all at once via separate query (get_metadata_types)) which is not the raw frame.
if (results_total > 5) and (not response_types):
Expand Down

0 comments on commit db77ebd

Please sign in to comment.