tangos icon indicating copy to clipboard operation
tangos copied to clipboard

Tangos Importing of properties does not check if properties already exist?

Open Martin-Rey opened this issue 4 years ago • 2 comments

When using the tangos import-properties command multiple times, Tangos duplicates the properties without checking whether they are already in the database. This is the opposite behaviour to tangos write, where one has to force with an extra flag to perform calculations that are already present (--force).

Is this a wanted/expected behaviour?

Martin-Rey avatar Dec 13 '21 10:12 Martin-Rey

No I don't think this is wanted. Please feel free to fix :-)

apontzen avatar Dec 13 '21 11:12 apontzen

Ok, waiting for the cleaner import code, tangos remove-duplicates provides an efficient way to work around this issue

Martin-Rey avatar Dec 13 '21 12:12 Martin-Rey