informatics-isi-edu / pdb-ihm

Deriva Protein Database Project
3 stars 1 forks source link

Update data model to support latest IHMCIF updates (consistent with CifCheck sdb file) #229

Open brindakv opened 5 months ago

brindakv commented 5 months ago

See https://github.com/ihmwg/IHMCIF/pull/104 for details

SDB file can be moved to v1.26 to support _database_2.database_id = PDB-Dev (https://github.com/informatics-isi-edu/protein-database/issues/208 and https://github.com/informatics-isi-edu/protein-database/issues/231) and ermrest can catch up later when this issue if fully addressed. It is backward compatible.

aozalevsky commented 4 months ago

@svoinea @brindakv new py-rscb_db is available at https://salilab.org/~arthur/ihmv/packages/py-rcsb_db_v0.88.tar.gz

aozalevsky commented 4 months ago

@brindakv i've updated v1.2 reports with Crosslinking-MS data and tested compatibility with the current stack on dev. You can proceed with testing.

svoinea commented 2 months ago

@aozalevsky On the Ubuntu dev instance, in the /etc/cron.daily/dev-update file, the line is:

    "python_ihm_validation 48c8415"

Update the commit number each time you need and then run /etc/cron.daily/dev-update.

aozalevsky commented 2 months ago

@svoinea awesome, thanks!

aozalevsky commented 2 months ago

@svoinea @brindakv, the update has worked. the only comment is that the cron.daily updates are executed at 6:25 Pacific Time:

Sep 11 06:25:01 docker-pdbdev-validation-o3558551 CRON[83276]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
0  5    * * *   root    unattended-upgrade

This looks like a bit too late for an "overnight" update, especially if Brinda and Monica start testing things early on Eastern time.

svoinea commented 2 months ago

@aozalevsky Each time you update the commit number of the python_ihm_validation, run manually the /etc/cron.daily/dev-update script. In that way, it becomes independent of the overnight update.