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 4c59c2e commit c09445cCopy full SHA for c09445c
src/murfey/client/contexts/spa_metadata.py
@@ -163,11 +163,16 @@ def post_transfer(
163
atlas=Path(partial_path), sample=sample
164
)
165
url = f"{str(environment.url.geturl())}/visits/{environment.visit}/{environment.murfey_session}/register_data_collection_group"
166
- dcg_search_dir = "/" + "/".join(
+ dcg_search_dir = "/".join(
167
p
168
- for p in transferred_file.parent.parts[1:]
+ for p in transferred_file.parent.parent.parts
169
if p != environment.visit
170
171
+ dcg_search_dir = (
172
+ dcg_search_dir[1:]
173
+ if dcg_search_dir.startswith("//")
174
+ else dcg_search_dir
175
+ )
176
dcg_images_dirs = sorted(
177
Path(dcg_search_dir).glob("Images-Disc*"),
178
key=lambda x: x.stat().st_ctime,
0 commit comments