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

Monitoring for dataStatus changes from "Data Pending" to "Under Embargo" #75

Closed
anngvu opened this issue Nov 8, 2023 · 1 comment · Fixed by #83
Closed

Monitoring for dataStatus changes from "Data Pending" to "Under Embargo" #75

anngvu opened this issue Nov 8, 2023 · 1 comment · Fixed by #83
Assignees

Comments

@anngvu
Copy link
Contributor

anngvu commented Nov 8, 2023

As part of recent updates to semantics of dataStatus, it was agreed that "Data Pending" should change to "Under Embargo" when something is uploaded, and that is a helpful distinction. (See reference discussion here.)

Support for this should be through automated monitoring that will update both the Synapse project annotation and internal tracking (actually, internal tracking never had "Data Pending" status because it was added after the set up internal tracking, which defaults to Under Embargo for new projects anyway). Possibly, this can be combined with updated monitoring outlined in #70.

@allaway
Copy link
Contributor

allaway commented Apr 24, 2024

You are way ahead of me! I messed around with chatgpt yesterday to write something, no idea if it works:

https://gist.github.com/allaway/279d2171b1a53c8f3aa0fb65772b86df

note that this only does project annotation, not internal tracking

I'm also curious about a broader question - what else in study annotations can we automate with this sort of logic? e.g. after study end date, automatically transition studyStatus to Completed.

@anngvu anngvu self-assigned this Apr 30, 2024
@anngvu anngvu moved this to In Progress in NF-OSI Sprints Apr 30, 2024
@anngvu anngvu closed this as completed in #83 May 8, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in NF-OSI Sprints May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants