We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At a high level, the set of data returned from sevenbridges' project::files is different from the set of data from their task::outputs.
For example task.outputs returns a dict, that in turn contains a class == 'File'. The properties are:
{ "name": "CG0013-3205.FN.vcf", "checksum": "sha1$6fb754d4d194783f06c8df29d52e888eb4a9f98d", "location": "5a9eadd64f0c37e14fd0c6b4", "secondaryFiles": [], "path": "5a9eaddd4f0c37e14fd0c6c9", "dirname": "/mnt/nosbgfs/workspaces/4eba4c86-03cb-411a-a9a2-45dd6cbde1f8/tasks/d27205a8-3abe-4665-aac5-c3dbde0373b6/root_a_1/output", "class": "File", "contents": "None", "size": 1016592 }
Note: this structure not 'typed' i.e a python class
project.files returns
{ "origin": {}, "name": "CG0004-9569.cram", "tags": [ "cram", "broad", "seidman2016" ], "storage": { "volume": "yuankun/kf_pilot", "type": "VOLUME", "location": "fc-417e7cfc-5a7e-437f-9e3d-5d9c768206ab/GMKF_Seidman_CongenitalHeartDisease_WGS/RP-1445/WGS/CG0004-9569/v1/CG0004-9569.cram" }, "project": "yuankun/kf-gvcf-benchmarking", "created_on": "2018-03-02T23:19:16Z", "href": "https://cavatica-api.sbgenomics.com/v2/files/5a99dbf44f0c9ab63d0ae859", "modified_on": "2018-03-02T23:19:16Z", "size": 24837208885, "id": "5a99dbf44f0c9ab63d0ae859", "metadata": { "Subject ID": "3439", "reference_genome": "GRCh38", "investigation": "seidman2016", "Father ID": "3441", "Family ID": "141", "sample_id": "CG0004-9569", "Mother ID": "3440", "experimental_strategy": "WGS" } }
Note: no checksum
http://sevenbridges-python.readthedocs.io/en/latest/quickstart/#managing-files http://sevenbridges-python.readthedocs.io/en/latest/quickstart/#managing-tasks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At a high level, the set of data returned from sevenbridges' project::files is different from the set of data from their task::outputs.
For example task.outputs returns a dict, that in turn contains a class == 'File'. The properties are:
Note: this structure not 'typed' i.e a python class
project.files returns
Note: no checksum
the quantity and keys between these two sets of "Files" do not align
http://sevenbridges-python.readthedocs.io/en/latest/quickstart/#managing-files
http://sevenbridges-python.readthedocs.io/en/latest/quickstart/#managing-tasks
The text was updated successfully, but these errors were encountered: