Skip to content

Investigate potential error in transform #410

@chinyeungli

Description

@chinyeungli

I am testing out the transform command and the following config works:

column_renamings:
    'Directory File': about_resource
    foo : bar
required_columns:
    - copyright

However, if I added the column_filters, it throws error:

column_renamings:
    'Directory File': about_resource
    foo : bar
required_columns:
    - copyright
column_filters:
    - name

Errors:

C:\Users\xxx\aboutcode-toolkit\\bin\about   transform -c D:\test\config.txt D:\test\t1.csv D:\test\t2.csv
Running aboutcode-toolkit version 4.0.0.pre1
Transforming CSV...
Command completed with 1 errors or warnings.
CRITICAL: Row 0 is missing required values for columns: about_resource, copyright

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions