Skip to content

Overwrites traces when exporting if trace names are not defined properly. #15

Description

@simonbonano

If you load a movie which name ends with ".tif" and the trace names are not defined, the function get_tracename() will name the traces like:

movie.tif_1
movie.tif_2
movie.tif_3
etc.

When exporting traces, the function export_trace_to_txt() will split the trace name at "." and replace the second part with ".txt" to ensure the right file extension:

movie.txt
movie.txt
movie.txt
etc.

Thus the export names are all the same and the files will be overwritten. A quick fix to this issue is attached here as a screendump, however a more elegant solution should be implemented.

Skærmbillede 2020-09-08 kl  15 08 01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions