Skip to content

Commit

Permalink
Merge pull request #1284 from Sage-Bionetworks/develop-fix-getting-excel
Browse files Browse the repository at this point in the history
[bug fix] Fix issues when generating an existing manifest as an excel sheet
  • Loading branch information
linglp authored Aug 29, 2023
2 parents 3ca4c0f + 64d407e commit 1105499
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions schematic/store/synapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@ def fill_in_entity_id_filename(self, datasetId: str, manifest: pd.DataFrame) ->
if dataset_files:
new_files = self._get_file_entityIds(dataset_files=dataset_files, only_new_files=True, manifest=manifest)

# update manifest so that it contain new files
new_files = pd.DataFrame(new_files)
manifest = (
pd.concat([manifest, new_files], sort=False)
.reset_index()
.drop("index", axis=1)
)
# update manifest so that it contains new dataset files
new_files = pd.DataFrame(new_files)
manifest = (
pd.concat([manifest, new_files], sort=False)
.reset_index()
.drop("index", axis=1)
)

manifest = manifest.fillna("")
return dataset_files, manifest
Expand Down

0 comments on commit 1105499

Please sign in to comment.