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

automatically publish data to aind-open-data if metadata is complete #327

Open
7 tasks
dyf opened this issue Apr 2, 2024 · 2 comments
Open
7 tasks

automatically publish data to aind-open-data if metadata is complete #327

dyf opened this issue Apr 2, 2024 · 2 comments
Assignees

Comments

@dyf
Copy link
Member

dyf commented Apr 2, 2024

Acceptance Criteria:

  • Service will determine if metadata is complete and valid
  • If so, service will upload data to aind-open-data
  • If not, service will upload data to aind-private-data

Criteria for "complete and valid":

  • data_description.json exists.
  • subject.json exists.
  • procedures.json exists.
  • either rig.json and session.json exist, or instrument.json and acquisition.json exist.
@dyf dyf changed the title automatically publish data to aind-open-data if required JSONs exist and are valid automatically publish data to aind-open-data if metadata is complete Apr 2, 2024
@dyf
Copy link
Member Author

dyf commented Apr 2, 2024

@saskiad We still get some validation errors for procedures.json and occasionally subject.json (missing breeding info). Do you think these should block upload to aind-open-data?

@saskiad
Copy link

saskiad commented Apr 2, 2024

We should be able to fix the breeding info thing. We need to update the service to get the source of mice not bred in house. I'd be shocked if that that info isn't in Labtracks, ... though I guess I don't put it past them. But I'd prefer we fix this rather than ignore it.

Procedures is annoying. We don't have an option, but I hate having incomplete procedures in the open bucket.

@mekhlakapoor mekhlakapoor self-assigned this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants