IUSCA / bioloop

Scientific data management portal and pipeline application template
Other
4 stars 2 forks source link

Workers - tar should not preserve the full paths in the archive #132

Open deepakduggirala opened 10 months ago

deepakduggirala commented 10 months ago

Extracting any archive on SDA created by our apps with tar xvf creates a directory with internals with original file paths.

zpool/xenium/temp/
zpool/xenium/temp/Xenium_V1_mouse_pup_outs.zip
...

Change the tar command in archive step to create tar with only relative file paths.

When extracted with tar xvf the expected structure is

Xenium_V1_mouse_pup_outs.zip
...
charlesbrandt commented 9 months ago

Good call to raise this on the Bioloop project. I believe this may be related to this issue in Xenium as well: https://github.com/IUSCA/xenium/issues/11