Skip to content

Commit

Permalink
Change names to include preceeding folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nimne committed Aug 13, 2021
1 parent 409692b commit 73325c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Changelog
======
#### 0.6.2
- Fixed bug where the time and image scale were calculated incorrectly
- Clarified scaling documentation documentation
- Clarified scaling documentation


#### 0.6.1
Expand Down
4 changes: 2 additions & 2 deletions readlif/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,12 +652,12 @@ def _recursive_image_find(self, tree, return_list=None, path=""):
"dims_n": dims_dict,
"scale_n": scale_dict,
"path": str(path + "/"),
"name": item.attrib["Name"],
"name": '/'.join((str(path + "/") + item.attrib["Name"]).split("/")[1:]),
"channels": n_channels,
"scale": (scale_x, scale_y, scale_z, scale_t),
"bit_depth": bit_depth,
"mosaic_position": m_pos_list,
# "metadata_xmlroot": metadata_xmlroot
# "metadata_xml": item
}

return_list.append(data_dict)
Expand Down

0 comments on commit 73325c1

Please sign in to comment.