Skip to content

Missing Parameter in os.system("python src/data/05_persist_pixels_masks.py data/processed/files") Command #2

Description

@luluyuu

Thank you for your excellent work! I encountered an issue while reproducing the code.
When running

python src/data/06A_make_dataset_post.py

I got the following error:

05_persist_pixels_masks.py: error: the following arguments are required: polygon_layer

I checked the 05_persist_pixels_masks.py file and found that it requires two mandatory arguments: output_path and polygon_layer.
However, in 06A_make_dataset_post.py, the call is:

os.system("python src/data/05_persist_pixels_masks.py data/processed/files")

which only provides one argument (output_path).
Is this an oversight? How should I modify this call to make it work properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions