From d6dd06472cb0ca3011e8d53502f812e933645e1d Mon Sep 17 00:00:00 2001 From: jjospina Date: Thu, 23 Jan 2025 11:33:14 -0700 Subject: [PATCH] FIX: minor errors in opendss2xml(typo) and xml2ravens(missing import) --- ravens/xml/opendss2xml.py | 2 +- ravens/xml/xml2ravens.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ravens/xml/opendss2xml.py b/ravens/xml/opendss2xml.py index 4c9dc1105..6a68d4d71 100644 --- a/ravens/xml/opendss2xml.py +++ b/ravens/xml/opendss2xml.py @@ -174,7 +174,7 @@ def _build_vector_group(self): self.vector_group = self.vector_group[0].upper() + self.vector_group[1::] -class TranformerInfo: +class TransformerInfo: def __init__(self): self.max_wdg = 0 self.wdg_list = None diff --git a/ravens/xml/xml2ravens.py b/ravens/xml/xml2ravens.py index 811877839..2a7a88c2e 100644 --- a/ravens/xml/xml2ravens.py +++ b/ravens/xml/xml2ravens.py @@ -4,6 +4,8 @@ import networkx as nx +import json + from ast import literal_eval from collections import namedtuple from copy import deepcopy