Skip to content
Snippets Groups Projects
Commit ba6958b5 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

style(bridgeOmero): blackify

parent 460ab43a
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,11 @@ class BridgeOmero:
ome_type = [
valid_name
for valid_name in ("Dataset", "Image")
if re.match(valid_name, self.__class__.__name__, re.IGNORECASE)
if re.match(
f".*{ valid_name }.*",
self.__class__.__name__,
re.IGNORECASE,
)
][0]
self.ome_class = self.conn.getObject(ome_type, self.ome_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment