Skip to content

-w flag enabled by default #41

Closed
@huguesdevimeux

Description

@huguesdevimeux

I just noticed an issue with the CLI arguments, and more particular concerning the -w (write_to_movie) flag.
It appears that when -s (save_last_frame) is False (most of the time, I think), write_to_movie is set True even though -w hasn't been placed. (that's why for example in the README just -pl is used instead of -plw).

That is shown at l. 166 of config.py:
"write_to_movie": args.write_to_movie or not args.save_last_frame,

This may cause issues when one wants to get the last frame AND the video.

Should we fix it or let -w enabled by default (even though it's not very rigorous) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr:bugfixBug fix for use in PRs solving a specific issue:bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions