pybdv icon indicating copy to clipboard operation
pybdv copied to clipboard

dealing with absolute paths

Open martinschorb opened this issue 4 years ago • 4 comments

Hi,

what can we do to make pybdv applicable to the following scenario:

  • 2 large datasets in some common storage location (maybe even separate group shares)
  • no write access to those
  • I want to register them to each other
  • I need to create matching bdv xml files pointing to the data but with modified AffineTransform and potentially other attributes.
  • so basically I need some means of creating additional valid BDV xml files without having write access to the data directory.

My idea is to just use write_xml_metadata and have it point to the data container. This however cannot be done using relative paths if the user does not have write access there. So far you have that hardcoded in this function. I will give it a try by finding common path and the use relative directory listing, however, this will fail under Windows when different shares are mounted as different drives...

Any ideas how to solve that? S3 storage for this data?

martinschorb avatar May 11 '20 13:05 martinschorb