@@ -74,12 +74,12 @@ def __init__(self):
7474 self .index ["series_aws_url" ].str .split ("/" ).str [3 ]
7575 )
7676
77- self .previous_versions_index_path = (
77+ self .prior_versions_index_path = (
7878 idc_index_data .PRIOR_VERSIONS_INDEX_PARQUET_FILEPATH
7979 )
8080 file_path = idc_index_data .PRIOR_VERSIONS_INDEX_PARQUET_FILEPATH
8181
82- self .previous_versions_index = pd .read_parquet (file_path )
82+ self .prior_versions_index = pd .read_parquet (file_path )
8383
8484 # self.index = self.index.astype(str).replace("nan", "")
8585 self .index ["series_size_MB" ] = self .index ["series_size_MB" ].astype (float )
@@ -106,7 +106,7 @@ def __init__(self):
106106 "url" : None ,
107107 "file_path" : idc_index_data .IDC_INDEX_PARQUET_FILEPATH ,
108108 },
109- "previous_versions_index " : {
109+ "prior_versions_index " : {
110110 "description" : "index containing one row per DICOM series from all previous IDC versions that are not in current version." ,
111111 "installed" : True ,
112112 "url" : None ,
@@ -796,7 +796,7 @@ def _validate_update_manifest_and_get_download_size(
796796 "StudyInstanceUID" ,
797797 ]
798798 ]
799- previous_versions_index_df_copy = self .previous_versions_index [
799+ prior_versions_index_df_copy = self .prior_versions_index [
800800 [
801801 "SeriesInstanceUID" ,
802802 "series_aws_url" ,
@@ -903,7 +903,7 @@ def _validate_update_manifest_and_get_download_size(
903903 series_size_MB,
904904 { hierarchy } AS path,
905905 FROM
906- previous_versions_index_df_copy pvip
906+ prior_versions_index_df_copy pvip
907907
908908 ),
909909 index_temp AS (
@@ -1706,7 +1706,7 @@ def download_from_selection(
17061706 "series_size_MB" ,
17071707 ]
17081708 ],
1709- self .previous_versions_index [
1709+ self .prior_versions_index [
17101710 [
17111711 "PatientID" ,
17121712 "collection_id" ,
0 commit comments