Apply suggestions from code review of branch img-name
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
parent
df918bf286
commit
c00c027ab1
1 changed files with 5 additions and 1 deletions
|
|
@ -141,7 +141,11 @@ class CaptureInfo:
|
|||
|
||||
@property
|
||||
def filename(self) -> str:
|
||||
"""The filename for this image generated from the position, prepended with "img_"."""
|
||||
"""The filename for this image generated from the position.
|
||||
|
||||
The file name is in the format ``img_{x}_{y}_{z}`` where x, y, and z are the
|
||||
positions from the microscope stage.
|
||||
"""
|
||||
return (
|
||||
f"img_{self.position['x']}_{self.position['y']}_{self.position['z']}.jpeg"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue