Git Product home page Git Product logo

Comments (9)

pavertomato avatar pavertomato commented on July 23, 2024

gcloud beta healthcare dicom-stores export instead of api call

@sadeel
gcloud and api call to export does not support filtering or export of single object, so we have two options:

from healthcare.

sadeel avatar sadeel commented on July 23, 2024

I prefer first option, we want clients to use bulk operations such as ExportDicomData in such cases.

I think you might run into issues mapping the jpegs on gcs to the TCIA provided CSV...if you do feel free to store the mapping somewhere in the repo...perhaps as a static CSV

from healthcare.

pavertomato avatar pavertomato commented on July 23, 2024

I think you might run into issues mapping the jpegs on gcs to the TCIA provided CSV...if you do feel free to store the mapping somewhere in the repo...perhaps as a static CSV

since export generates folder structure by ids of dcms: /1.3.6.1.4.1.9590.100.1.2.100052171312354035019149694722933145864/1.3.6.1.4.1.9590.100.1.2.122021886313853636738943991213171853079/1.3.6.1.4.1.9590.100.1.2.143025478211711725141987429563024371610.jpg i think it will be possible to filter them without additional data

from healthcare.

pavertomato avatar pavertomato commented on July 23, 2024

@sadeel
i've faced problem with managing access to https://healthcare.googleapis.com/v1beta1/projects/chc-tcia/locations/us-central1/datasets/cbis-ddsm/dicomStores/cbis-ddsm
old service account may trigger export command, this account was created before our project got access to chc-tcia
but if i create new service account(with same permissions) and try to run export command i'll get permission error.
So access seems to be managed by CHC-API team, or i haven't found settings for this.

question: should README says that user should communicate with CHC-API team to grant permissions to service account or we have any additional way to get such permissions for service account?

from healthcare.

sadeel avatar sadeel commented on July 23, 2024

Yes, the readme should ask the user to request access for their service account using the form here:
https://cloud.google.com/healthcare/docs/resources/public-datasets/tcia#cloud-healthcare-api

We don't have good support for service accounts right now, I have filed a request internally to handle this. In the mean time, can we ask the user to request access using their email? Then, in the codelab, have the client authenticate using their email before doing ExportDicomData?

from healthcare.

pavertomato avatar pavertomato commented on July 23, 2024

Then, in the codelab, have the client authenticate using their email before doing ExportDicomData?

seems like gcloud init --console-only have only interactive mode for personal accounts so i'll have to put it into README, is it ok?

from healthcare.

sadeel avatar sadeel commented on July 23, 2024

That sounds fine. This should be a intermediate thing, we'll fix service account access eventually...

from healthcare.

pavertomato avatar pavertomato commented on July 23, 2024

That sounds fine. This should be a intermediate thing, we'll fix service account access eventually...

readme has been updated

from healthcare.

sadeel avatar sadeel commented on July 23, 2024

fixed in latest commit

from healthcare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.