Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
whitews committed Oct 11, 2024
1 parent 2dd20da commit 27d3469
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/flowkit/_utils/wsp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,12 @@ def _parse_population_node(pop_el, parent_id, gating_ns, data_type_ns):

return g

def _parse_boolean_node(bool_el, bool_gate_type, parent_id):
def _parse_boolean_node(bool_el, bool_gate_type):
"""
Given a Boolean node, return a gate instance
:param bool_el: Boolean node element (AndNode, OrNode, NotNode)
:param bool_gate_type: Boolean type: 'and', 'or', or 'not'
:param parent_id: parent gate ID as list
:return: gate instance
"""
gate_name = bool_el.attrib['name']
Expand Down Expand Up @@ -466,7 +465,7 @@ def _recurse_wsp_sub_populations(sub_pop_el, gate_path, gating_ns, data_type_ns)
# and now recurse over the various Boolean nodes
for bool_type, bool_type_nodes in boolean_node_lut.items():
for bool_el in bool_type_nodes:
g = _parse_boolean_node(bool_el, bool_type, parent_gate_name)
g = _parse_boolean_node(bool_el, bool_type)
owning_group = bool_el.attrib['owningGroup']

gate_id = copy.copy(gate_path)
Expand Down

0 comments on commit 27d3469

Please sign in to comment.