Project

General

Profile

Actions

Support #3989

closed

change CS in phpmyadmin

Added by Arne Moeller almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
02/29/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2

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

Actions #1

Updated by Sargis Dallakyan almost 9 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

Actions #2

Updated by Anchi Cheng almost 9 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.

Actions #3

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
Actions

Also available in: Atom PDF