We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09445c commit 94ab227Copy full SHA for 94ab227
src/murfey/client/contexts/spa.py
@@ -474,12 +474,15 @@ def _position_analysis(
474
foil_hole,
475
grid_square,
476
)
477
+ metadata_source_as_str = (
478
+ "/".join(source.parts[:-2])
479
+ + f"/{environment.visit}/"
480
+ + source.parts[-2]
481
+ )
482
metadata_source = Path(
- (
- "/".join(source.parts[:-2])
- + f"/{environment.visit}/"
- + source.parts[-2]
- )[1:]
483
+ metadata_source_as_str[1:]
484
+ if metadata_source_as_str.startswith("//")
485
+ else metadata_source_as_str
486
487
image_path = (
488
_file_transferred_to(environment, metadata_source, Path(fh.image))
0 commit comments