Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking data from one mobie project s3 to another requires redundant xml file #165

Open
jhennies opened this issue May 8, 2024 · 1 comment

Comments

@jhennies
Copy link

jhennies commented May 8, 2024

I was linking one MoBIE project (currently still local) to the Platynereis raw data.

In the dataset json:

  "sources": {
    "sbem-6dpf-1-whole-raw": {
      "image": {
        "imageData": {
          "bdv.n5.s3": {
            "relativePath": "images/bdv-n5-s3/sbem-6dpf-1-whole-raw.xml"
          }
        }
      }
    },
    ...

And this I put into the xml:

    <ImageLoader format="bdv.n5.s3">
      <Key>rawdata/sbem-6dpf-1-whole-raw.n5</Key>
      <ServiceEndpoint>https://s3.embl.de</ServiceEndpoint>
      <BucketName>platybrowser</BucketName>
      <SigningRegion>us-west-2</SigningRegion>
    </ImageLoader>

The above works, however it would be nice to avoid the xml and directly be able to put this into the dataset.json, e.g. like so:

    "sbem-6dpf-1-whole-raw": {
      "image": {
        "imageData": {
          "bdv.n5.s3": {
            "absolutePath": "https://s3.embl.de/platybrowser/rawdata/sbem-6dpf-1-whole-raw.xml"
          }
        }
      }
    }
@jhennies
Copy link
Author

jhennies commented May 8, 2024

This is a similar issue: mobie/mobie-viewer-fiji#1048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant