You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Else need to also check the dates on these _new variables as well
Solution
We may be able to solve (1) & (2) simultaneously with something clever. I suggest that we have the application check if these graphs need to be regenerated at specific times, and that it should do so without needing to redeploy.
When to check:
When backend is starting up
Whenever a user does a GET on the home page
What happens:
The app will check when the vocab tables were last updated (ideally this should be 1 var, but right now each vocab table has its own separate var, e.g. last_updated_concept for concept table). It will compare that to the date of the graphs (e.g. relationship_graph.pickle). If the graph is outdated, it will regenerate.
Additional info
How often this will happen
The vocab tables have been updating, I think, more often than what N3C staff have told us would be expected. They say every 6 mon, but the GitHub actions reflect something like once every month or few.
The text was updated successfully, but these errors were encountered:
Overview
I am just now realizing that we need to refresh the networkx graphs when vocab updates happen.
Sub-tasks
_new
#857_new
variables as wellSolution
We may be able to solve (1) & (2) simultaneously with something clever. I suggest that we have the application check if these graphs need to be regenerated at specific times, and that it should do so without needing to redeploy.
When to check:
What happens:
The app will check when the vocab tables were last updated (ideally this should be 1 var, but right now each vocab table has its own separate var, e.g.
last_updated_concept
forconcept
table). It will compare that to the date of the graphs (e.g.relationship_graph.pickle
). If the graph is outdated, it will regenerate.Additional info
How often this will happen
The vocab tables have been updating, I think, more often than what N3C staff have told us would be expected. They say every 6 mon, but the GitHub actions reflect something like once every month or few.
The text was updated successfully, but these errors were encountered: