Skip to content

Commit 1105499

Browse files
authored
Merge pull request #1284 from Sage-Bionetworks/develop-fix-getting-excel
[bug fix] Fix issues when generating an existing manifest as an excel sheet
2 parents 3ca4c0f + 64d407e commit 1105499

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

schematic/store/synapse.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -615,13 +615,13 @@ def fill_in_entity_id_filename(self, datasetId: str, manifest: pd.DataFrame) ->
615615
if dataset_files:
616616
new_files = self._get_file_entityIds(dataset_files=dataset_files, only_new_files=True, manifest=manifest)
617617

618-
# update manifest so that it contain new files
619-
new_files = pd.DataFrame(new_files)
620-
manifest = (
621-
pd.concat([manifest, new_files], sort=False)
622-
.reset_index()
623-
.drop("index", axis=1)
624-
)
618+
# update manifest so that it contains new dataset files
619+
new_files = pd.DataFrame(new_files)
620+
manifest = (
621+
pd.concat([manifest, new_files], sort=False)
622+
.reset_index()
623+
.drop("index", axis=1)
624+
)
625625

626626
manifest = manifest.fillna("")
627627
return dataset_files, manifest

0 commit comments

Comments
 (0)