modelica-tools / csv-compare

Tool to compare curves from one csv files with curves from other csv files using an adjustable tolerance
https://www.modelica.org
BSD 3-Clause "New" or "Revised" License
25 stars 15 forks source link

Force a unique bitmap name #54

Closed beutlich closed 5 years ago

beutlich commented 5 years ago

If (for csvTreeCompare) a directory structure contains the same CSV file names, the generated bitmaps are shared.

Example: Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks and Modelica.StateGraph.Examples.ControlledTanks share the same PNG image ControlledTanks.tank1.level.png.

This fix forces unique PNG file names, at the cost that a new compare run (with option --override set) does not override the existing PNG images.

@svenruetz Is this acceptable? @GallLeo FYI