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

The terms Submission_id and Project are used interchangeably which is confusing #3

Open
rexwangcc opened this issue Dec 7, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@rexwangcc
Copy link
Member

The confusion is around dcpdig, when you use dcpdig @ingest project_uuid=UUID-xxxxxxx --deployment="prod", the dcpdig will output something like:

Using deployment prod
Project SUBMISSION_ID
    uuid=UUID-xxxxxxx
    short_name=XXX

It will be much clearer to use Submission instead of Project for SUBMISSION_ID the above outputs.

@rexwangcc rexwangcc added the enhancement New feature or request label Dec 7, 2018
@sampierson
Copy link
Member

They are not actually interchangeable, they are separate entities in the Ingest database.
Multiple submissions may be grouped together under the same project.

For example, go to the UI page for Submission 5c10f867a73b170007f6fe54:
http://ui.ingest.staging.data.humancellatlas.org/submissions/detail/5c10f867a73b170007f6fe54/overview

The "Overview" tab shows information for the Project. At the bottom of a page is a link to the API page for the Project: http://api.ingest.staging.data.humancellatlas.org/projects/5c10f869a73b170007f6fe66
From that link we can see that the project has a Mongo ID of 5c10f869a73b170007f6fe66 and in the JSON you will see that the project has also has a UUID of 0a7acc4d-0a26-4630-9a53-4b3f81839741. It is this UUID that Wranglers use in their spreadsheets.

Submissions also have a UUID as well as a Mongo ID, but that is harder to find.

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

No branches or pull requests

2 participants