m = Store()
r = Reader(...)
r.parse(m)
m.set_names()
The OpenDSS reader calls set_names internally in the parse method. This causes a flood of Duplicate name <x> being set. Object overwritten warning messages.
@kdheepak @tarekelgindy Is there an expectation that the parse method either must or must not call set_names? If there is no such rule then what should be done here? Can the Reader class track whether set_names has been called and then skip redundant runs?
Many tests follow this pattern:
The OpenDSS reader calls
set_names
internally in theparse
method. This causes a flood ofDuplicate name <x> being set. Object overwritten
warning messages.@kdheepak @tarekelgindy Is there an expectation that the
parse
method eithermust
ormust not
callset_names
? If there is no such rule then what should be done here? Can the Reader class track whetherset_names
has been called and then skip redundant runs?