We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e69267c commit 2295f7fCopy full SHA for 2295f7f
snakemake_storage_plugin_fs/__init__.py
@@ -204,7 +204,9 @@ def retrieve_object(self):
204
f"Creating symlink for on-demand retrieval of {self.query_path}."
205
)
206
os.symlink(
207
- self.query_path,
+ # we have to use os.path.relpath here because Path.relative_to
208
+ # does not allow usage of paths that are in different directories.
209
+ os.path.relpath(self.query_path, self.local_path().parent),
210
self.local_path(),
211
target_is_directory=self.query_path.is_dir(),
212
0 commit comments