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

Incorrect bundle.json format for hca dss download #398

Closed
amarjandu opened this issue Jul 23, 2019 · 1 comment
Closed

Incorrect bundle.json format for hca dss download #398

amarjandu opened this issue Jul 23, 2019 · 1 comment
Assignees
Labels
BUG orange Done by the Azul, Data Browser and Portal team

Comments

@amarjandu
Copy link
Contributor

the bundle manifest, bundle.json that is included with the download is not in the same format as a get-bundle command.

hca dss download

{
   "bundle":{
      "creator_uid":8008,
      "files":{
         "10x_sequencing_protocol.pdf":{
            "content-type":"application/pdf; dcp-type=data",
            "crc32c":"47441108",
            "indexed":false,
            "name":"10x_sequencing_protocol.pdf",
            "s3_etag":"67e93ad84439bc3515066da4362d2439",
            "sha1":"194a0f2b6b8db8272f33f3c1f6a2cf2dca26160d",
            "sha256":"b6b98dc6b82be35951bf0a8f47cd6e1c2262c18ea75532ca0800223d1f846910",
            "size":5645416,
            "uuid":"3a838dcb-162f-4710-b336-4319bd6dbd27",
            "version":"2019-05-15T202624.755402Z"
         },
         "cell_suspension_0.json":{
            "content-type":"application/json; dcp-type=\"metadata/biomaterial\"",
            "crc32c":"efe9b66c",
            "indexed":true,
            "name":"cell_suspension_0.json",
            "s3_etag":"134e5625dbb5ba5aa4e9eed4e74e90c0",
            "sha1":"9cdfe16e247c6ba34d99e613eae4205acb62ed0c",
            "sha256":"50c5245ffd7ddf3d0ba3a10fd408f432c4378794ec8a048d8714d15ec2f4af45",
            "size":1271,
            "uuid":"b8ccad6c-4240-4c49-af2e-837fb8b7df71",
            "version":"2019-05-15T183025.169000Z"
         },
         "dissociation_protocol_0.json":{
            "content-type":"application/json; dcp-type=\"metadata/protocol\"",
            "crc32c":"565da42d",
            "indexed":true,
            "name":"dissociation_protocol_0.json",
            "s3_etag":"c376c15880b58c35a9d02cb05c8177a7",
            "sha1":"90e27224163afa4f50117b3197d303488faf1946",
            "sha256":"116a9579cafff8a66d9c9c25cb7c7d89177bf8dae434483f3ca3b92dfcc8df29",
            "size":911,
            "uuid":"bfa6a3f9-250a-4a0c-a238-041e460e42f5",
            "version":"2019-05-15T183022.087000Z"
         },
         "donor_organism_0.json":{
            "content-type":"application/json; dcp-type=\"metadata/biomaterial\"",
            "crc32c":"6f999028",
            "indexed":true,
            "name":"donor_organism_0.json",
            "s3_etag":"8f658260f0223c8c7211aac9ced7bb78",
            "sha1":"2bef6a208c620664bc157dea179c5f2d0211fc39",
      },
      "uuid":"20fe3336-1dcc-4ee6-851a-3a6748015afb",
      "version":"2019-05-15T202438.811000Z"
   }
}

get-bundle

  "bundle": {
    "creator_uid": 8008,
    "files": [
      {
        "content-type": "application/json; dcp-type=\"metadata/biomaterial\"",
        "crc32c": "efe9b66c",
        "indexed": true,
        "name": "cell_suspension_0.json",
        "s3_etag": "134e5625dbb5ba5aa4e9eed4e74e90c0",
        "sha1": "9cdfe16e247c6ba34d99e613eae4205acb62ed0c",
        "sha256": "50c5245ffd7ddf3d0ba3a10fd408f432c4378794ec8a048d8714d15ec2f4af45",
        "size": 1271,
        "uuid": "b8ccad6c-4240-4c49-af2e-837fb8b7df71",
        "version": "2019-05-15T183025.169000Z"
      },
      {
        "content-type": "application/json; dcp-type=\"metadata/biomaterial\"",
        "crc32c": "5e6c1c3f",
        "indexed": true,
        "name": "specimen_from_organism_0.json",
        "s3_etag": "92058d8e38c80f6ab7d3e63f8811de05",
        "sha1": "c03c0807f182e8cc7f490f7bb88221c682316e2f",
        "sha256": "edb2a7fa9811d7a22bd7c787f86075dd542599258c772416c6595a0b3529bb6f",
        "size": 1489,
        "uuid": "2ec7164c-136d-4854-9bbd-1f08a2065e08",
        "version": "2019-05-15T183025.252000Z"
      },
      {
        "content-type": "application/json; dcp-type=\"metadata/biomaterial\"",
        "crc32c": "6f999028",
        "indexed": true,
        "name": "donor_organism_0.json",
        "s3_etag": "8f658260f0223c8c7211aac9ced7bb78",
        "sha1": "2bef6a208c620664bc157dea179c5f2d0211fc39",
        "sha256": "4a1054be5793abdaaa8a80ea218d85d054c85090e362ba6ecde1f2548fcbdfd0",
        "size": 1917,
        "uuid": "b052bb75-f84f-4b90-b9e1-122e2325f76d",
        "version": "2019-05-15T183023.548000Z"
      },
      {
        "content-type": "application/json; dcp-type=\"metadata/file\"",
        "crc32c": "27c53144",
        "indexed": true,
        "name": "sequence_file_0.json",
        "s3_etag": "ed37154c5176bb190210bda027c2e950",
        "sha1": "b3462bf4be89d643518e87bdb1b4f757734130c5",
        "sha256": "80502b1bb315df5faec7c33052e686e79ad766e050ef64f33b88048071dca6a6",
        "size": 538,
        "uuid": "0bc5e814-158c-4f58-af89-e6db416a4a62",
        "version": "2019-05-15T183457.511000Z"
      }
    ],
    "uuid": "20fe3336-1dcc-4ee6-851a-3a6748015afb",
    "version": "2019-05-15T202438.811000Z"
  }
}

the files key should have a list of json objects.
@jessebrennan
Copy link
Collaborator

This needs to be released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG orange Done by the Azul, Data Browser and Portal team
Projects
None yet
Development

No branches or pull requests

5 participants