Append _xxxx to new signals in case of duplicate name
commitde0352db6d9a8d2c32d4365c0ec21348754174c2
authorArnaud Gardelein <agardelein@yahoo.fr>
Sun, 11 Nov 2012 08:39:26 +0000 (11 09:39 +0100)
committerArnaud Gardelein <agardelein@yahoo.fr>
Sun, 11 Nov 2012 08:39:26 +0000 (11 09:39 +0100)
tree14e29ef679d14d5bad6e16e98176a4d43eb7fdde
parent67909ffcfecfdca7efe2f7dffd0dca8d9444cc31
Append _xxxx to new signals in case of duplicate name

The behavior in case of update is not managed by this patch.
xxxx is a number ranging from 0000 to 9999, eg. vds_0000 for the second occurence of a vds, vds_0001 for the thirds, etc.
To use test/dupl.oscopy, once simulation is performed demo/irf540.dat shall be copied as demo/irf540-2.dat and demo/irf540-3.dat
src/oscopy/context.py
src/oscopy/readers/reader.py
test/dupl.oscopy [new file with mode: 0644]