Skip to content

Commit

Permalink
change to static method
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Jun 17, 2023
1 parent f8f4ada commit d4c1964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@

class ZarrIO(HDMFIO):

@classmethod
def can_read(cls, path):
@staticmethod
def can_read(path):
try:
zarr.open(path, mode="r")
return True
Expand Down

0 comments on commit d4c1964

Please sign in to comment.