Skip to content

Commit

Permalink
Merge branch 'ImagingDataCommons:main' into feat-download-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
vkt1414 authored May 3, 2024
2 parents 4d599ca + b5129e9 commit c81ac0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idc_index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self):
# Read index file
logger.debug(f"Reading index file v{idc_index_data.__version__}")
self.index = pd.read_parquet(file_path)
self.index = self.index.astype(str).replace("nan", "")
# self.index = self.index.astype(str).replace("nan", "")
self.index["series_size_MB"] = self.index["series_size_MB"].astype(float)
self.collection_summary = self.index.groupby("collection_id").agg(
{"Modality": pd.Series.unique, "series_size_MB": "sum"}
Expand Down

0 comments on commit c81ac0f

Please sign in to comment.