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

discussion of cloning studies #79

Open
jdkent opened this issue Aug 24, 2021 · 2 comments
Open

discussion of cloning studies #79

jdkent opened this issue Aug 24, 2021 · 2 comments

Comments

@jdkent
Copy link
Member

jdkent commented Aug 24, 2021

fundamental question:
How should clones be related to the study they are cloned from?

option 1: source/source_id parameter (current solution)

option 2: create new table for clones and relate them to original studies

option 3: use parent hash with cloned study to indicate versions

open questions:

  • should you be able to rename a cloned study?
  • how should page_size and ordering work when listing studies and clones?
@jdkent
Copy link
Member Author

jdkent commented Aug 25, 2021

when cloning/ingesting from external sources (neurovault) maybe do not use source/source_id, but use external_id or something like that.

@jdkent
Copy link
Member Author

jdkent commented Aug 25, 2021

current working plan:

  • add unique parameter to studies endpoint to filter out cloned studies
  • add parameter (parent_id) to separate the notion of cloning versus ingesting from an external source

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

No branches or pull requests

1 participant