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
26 stars 15 forks source link

csvFileCompare fails since 2.0.1 #55

Closed sozorn closed 5 years ago

sozorn commented 5 years ago

mode csvFileCompare compares files but before writing report the error "Paths do not have the same base" occurs even though paths are ok. Same setup with version 2.0.0 works...

beutlich commented 5 years ago

More details please such that I can easily reproduce.

sozorn commented 5 years ago

Compare.exe --mode csvFileCompare --reportdir "iiwa14\reports" --tolerance 0.1 "iiwa14_compare.csv" "iiwa14_reference.csv" -d , -l "iiwa14\logs\logfile.txt" output

beutlich commented 5 years ago

Can you please attach the two CSV files here.

sozorn commented 5 years ago

output2 had to rename to txt since no csv upload is supported...
compare.txt reference.txt

sozorn commented 5 years ago

when using same data in mode csvTreeCompare it works fine

beutlich commented 5 years ago

Hm, still cannot reproduce with current master.

sozorn commented 5 years ago

Ok, thanks. We build from master and it has the same error and also tried on a different system win10 x64. Could you maybe try with the release 2.0.1 to reproduce?

beutlich commented 5 years ago

Can reproduce with relative pathes. Will provide a fix and new release soon.

beutlich commented 5 years ago

@sozorn Does it work out for you now? Still waiting for some confirmation before preparing the new release.

sozorn commented 5 years ago

Yes it does. Thanks a lot!