Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions PySpice/Spice/NgSpice/SimulationType.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@
)

SIMULATION_TYPE[28] = SIMULATION_TYPE[27]

SIMULATION_TYPE[29] = SIMULATION_TYPE[27]

SIMULATION_TYPE[30] = SIMULATION_TYPE[27]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

2 changes: 1 addition & 1 deletion PySpice/Spice/Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def to_python(self, ground=0):

def build(self, ground=0):

subcircuit = SubCircuit(self._name, self._nodes)
subcircuit = SubCircuit(self._name, *self._nodes)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done 0b02963

SpiceParser._build_circuit(subcircuit, self._statements, ground)
return subcircuit

Expand Down
2 changes: 1 addition & 1 deletion setup_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
else:
pyspice_path = pyspice_path.parent
init_path = pyspice_path.joinpath('PySpice', '__init__.py')
with open(init_path) as fh:
with init_path.open() as fh:
try:
version = re.findall(r"^__version__ = '([^']+)'\r?$", fh.read(), re.M)[0]
except IndexError:
Expand Down