Skip to content

Commit

Permalink
BUG: clean up after conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov committed Oct 7, 2024
1 parent 0b20e76 commit f19ff92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions idc_index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _safe_filter_by_selection(
patientId,
studyInstanceUID,
seriesInstanceUID,
sopInstanceUID=None,
sopInstanceUID,
crdc_series_uuid,
):
if collection_id is not None:
Expand Down Expand Up @@ -205,10 +205,10 @@ def _safe_filter_by_selection(

if sopInstanceUID is not None:
result_df = IDCClient._filter_by_dicom_instance_uid(
result_df, sopInstanceUID
df_index, sopInstanceUID
)
return result_df

if seriesInstanceUID is not None:
result_df = IDCClient._filter_by_dicom_series_uid(
df_index, seriesInstanceUID
Expand Down Expand Up @@ -1512,6 +1512,7 @@ def citations_from_selection(
patientId=patientId,
studyInstanceUID=studyInstanceUID,
seriesInstanceUID=seriesInstanceUID,
sopInstanceUID=None,
crdc_series_uuid=None,
)

Expand Down

0 comments on commit f19ff92

Please sign in to comment.