Skip to content

Change progress bar to not print a new line to logs in non-interactive shells #2673

@PeterWolfram

Description

@PeterWolfram

What version of Parcels are you running?

N/A

Is your feature request related to a problem?

Currently the ParticleSet.execute(...,verbose_progress=True) progress bar prints a new line to job logs if run from a non-interactive shell, e.g. from slurm.

Describe the solution you'd like

This could possibly be prevented by catching the type of shell and handling the progress bar accordingly.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions