Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Aug 3, 2023
1 parent 17a045d commit c979e45
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions vitessce/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ def use_coordination_by_dict(self, scopes):
self.view["coordinationScopesBy"] = next_coordination_scopes_by
return self


def use_meta_coordination(self, meta_scope):
"""
Attach meta coordination scopes to this view.
Expand All @@ -594,7 +593,7 @@ def use_meta_coordination(self, meta_scope):
})
meta_scopes = vc.add_meta_coordination()
meta_scopes.use_coordination_by_dict(scopes)
meta_scopes.use_coordination_by_dict(scopes)
spatial_view.use_meta_coordination(meta_scopes)
lc_view.use_meta_coordination(meta_scopes)
Expand Down Expand Up @@ -800,7 +799,7 @@ def use_coordination_by_dict(self, scopes):
})
meta_scopes = vc.add_meta_coordination()
meta_scopes.use_coordination_by_dict(scopes)
meta_scopes.use_coordination_by_dict(scopes)
spatial_view.use_meta_coordination(meta_scopes)
lc_view.use_meta_coordination(meta_scopes)
Expand Down Expand Up @@ -1099,7 +1098,7 @@ def add_coordination(self, *c_types):
def add_meta_coordination(self):
"""
Initialize a new meta coordination scope in the coordination space, and get a reference to it in the form of a meta coordination scope instance.
:returns: A new meta coordination scope instance.
:rtype: VitessceConfigMetaCoordinationScope
Expand All @@ -1119,7 +1118,7 @@ def add_meta_coordination(self):
})
meta_scopes = vc.add_meta_coordination()
meta_scopes.use_coordination_by_dict(scopes)
meta_scopes.use_coordination_by_dict(scopes)
spatial_view.use_meta_coordination(meta_scopes)
lc_view.use_meta_coordination(meta_scopes)
Expand All @@ -1142,7 +1141,7 @@ def add_meta_coordination(self):
def add_coordination_by_dict(self, input_val):
"""
Set up the initial values for multi-level coordination in the coordination space. Get a reference to these values to pass to the ``useCoordinationByObject`` method of either view or meta coordination scope instances.
:param input_val: A (potentially nested) object with coordination types as keys and values being either the initial coordination value, a ``VitessceConfigCoordinationScope`` instance, or a ``CoordinationLevel`` instance. The CoordinationLevel constructor takes an array of objects as its argument to support nesting.
:type input_val: dict
:returns: A (potentially nested) object with coordination types as keys and values being either ``{ scope }``, ``{ scope, children }``, or an array of these. Not intended to be manipulated before being passed to a ``useCoordinationByObject`` function.
Expand Down

0 comments on commit c979e45

Please sign in to comment.