Skip to content

Commit

Permalink
fix: adds missing column names
Browse files Browse the repository at this point in the history
  • Loading branch information
johentsch committed Nov 25, 2023
1 parent 8f74b10 commit 4252ad9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/dimcat/data/resources/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ class DcmlAnnotations(Annotations):
"chord_type",
"figbass",
"form",
"globalkey",
"globalkey_is_minor",
"globalkey_mode",
"localkey",
"localkey_and_mode",
"localkey_is_minor",
"localkey_mode",
Expand Down
2 changes: 1 addition & 1 deletion src/dimcat/steps/analyzers/counters.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def groupby_apply(self, feature: Feature, groupby: SomeSeries = None, **kwargs):
if groupby is None:
groupby = feature.get_grouping_levels(self.smallest_unit)
self.logger.debug(
f"Using the {feature.resource_name}'s default groupby {groupby!r}"
f"Using the {feature.resource_name}'s grouping levels {groupby!r}"
)
groupby.append(feature.value_column)
if (
Expand Down
1 change: 1 addition & 0 deletions src/dimcat/steps/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ def _make_new_resource(self, resource: Feature) -> Feature:
# new_resource = result_constructor.from_dataframe(
# df=result_df,
# resource_name=result_name,
# **resource_kwargs
# )
# print(f"NEW RESOURCE STATUS: {new_resource.status}")
self.logger.debug(
Expand Down

0 comments on commit 4252ad9

Please sign in to comment.