Skip to content

Commit

Permalink
made Importer `zarr´ compatible
Browse files Browse the repository at this point in the history
Co-Authored-By: Will Moore <[email protected]>
  • Loading branch information
jo-mueller and will-moore committed Jan 30, 2024
1 parent 25e40c3 commit 03cd2ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ezomero/_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ def get_my_image_ids(self) -> Union[List[int], None]:
params = Parameters()
path_query = self.make_substitutions()
path_query = path_query.strip('/')
if path_query.endswith(".zarr"):
path_query = f"{path_query}/.zattrs"
params.map = {"cpath": rstring(path_query)}
results = q.projection(
"SELECT i.id FROM Image i"
Expand Down Expand Up @@ -468,6 +470,7 @@ def ezimport_ln_s(self) -> bool:
'-k', self.conn.getSession().getUuid().val,
'-s', self.conn.host,
'-p', str(self.conn.port),
'--depth', '10',
'--transfer', 'ln_s',
str(self.file_path)])
if cli.rv == 0:
Expand Down

0 comments on commit 03cd2ae

Please sign in to comment.