Support #3989
closedchange CS in phpmyadmin
0%
Description
Dear all,
we have accidentally started Leginon with incorrect cs instruments.cfg - the very first time
now when we change it in instruments.cfg Leginon complains about different cs values in instruments.cfg and database
is there a way to correct the database securely without corrupting it?
many thanks
Arne
Updated by Sargis Dallakyan over 8 years ago
Hi Arne,
I found Cs is stored in leginondb > InstrumentData. You can change this with phpmyadmin to see if it works.
Hope this helps,
Sargis
Updated by Anchi Cheng over 8 years ago
With phpMyAdmin, you would change the database that you assigned for leginondata in sinedon.cfg.
The table you want is InstrumentData and the field is Cs.
For future reference, you can find sinedon table definition in myami/leginon/leginondata.py, myami/leginon/projectdata.py, and myami/appion/appionlib/appiondata.py
For most cases, it is o.k. to update the field, allowing the timestamp in DEF_id field to set to NOW. Image pixel size calibration is an exception since we do use time-dependency in retrieving pixel size.
Updated by Anchi Cheng over 8 years ago
- Tracker changed from Bug to Support
- Status changed from New to Closed
- Target version set to Appion/Leginon 3.2