Skip to content

Commit d9121aa

Browse files
authored
Merge pull request #1275 from Sage-Bionetworks/develop-fix-typo
[bug fix] Fixed typo in manifest generator
2 parents 08c6de6 + 1f52cd1 commit d9121aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schematic/manifest/generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ def _get_end_columns(self, current_schema_headers, existing_manifest_headers, ou
16001600
end_columns.append(id_name)
16011601

16021602
# Add entity_id to the end columns if it should be there but isn't
1603-
if 'entityId' in (current_schema_headers or existing_manfiest_headers) and 'entityId' not in end_columns:
1603+
if 'entityId' in (current_schema_headers or existing_manifest_headers) and 'entityId' not in end_columns:
16041604
end_columns.append('entityId')
16051605
return end_columns
16061606

@@ -1621,7 +1621,7 @@ def _update_dataframe_with_existing_df(self, empty_manifest_url: str, existing_d
16211621

16221622
# Get headers for the current schema and existing manifest df.
16231623
current_schema_headers = list(self.get_dataframe_by_url(manifest_url=empty_manifest_url).columns)
1624-
existing_manfiest_headers = list(existing_df.columns)
1624+
existing_manifest_headers = list(existing_df.columns)
16251625

16261626
# Find columns that exist in the current schema, but are not in the manifest being downloaded.
16271627
new_columns = self._get_missing_columns(current_schema_headers, existing_manifest_headers)

0 commit comments

Comments
 (0)