Skip to content

diffrn_radiation_wavelength / diffrn_radiation interaction #42

Description

@rowlesmr

I don't know where to go with multi-dictionary interactions, so I'll put it here.

  • CIF_POW
    • DIFFRN_RADIATION_WAVELENGTH
      • Linked, non-key data items for calibration purposes
        • _diffrn_radiation_wavelength.diffractogram_id
        • _diffrn_radiation_wavelength.phase_id
  • CIF_IMG
    • DIFFRN_RADIATION - Set, child of CIF_IMG_HEAD
      • PKs: _diffrn_radiation.diffrn_id, _diffrn_radiation.variant
      • It also has _diffrn_radiation.wavelength_id, which is described as "a pointer to _diffrn_radiation_wavelength.id in the DIFFRN_RADIATION_WAVELENGTH category", but is not formally linked with _name.linked_item_id.
  • CIF_MULTI
    • DIFFRN_RADIATION - Set, child of DIFFRACTION
      • PK: _diffrn_radiation.id
      • Linked, non-key data item: _diffrn_radiation.diffrn_id
    • DIFFRN_RADIATION_WAVELENGTH - Loop, child of DIFFRN_RADIATION
      • PKs: _diffrn_radiation_wavelength.id, _diffrn_radiation_wavelength.radiation_id
      • _drw.radiation_id is a FK pointing to _diffrn_radiation.id
  • CIF_CORE
    • DIFFRN_RADIATION - Set, child of DIFFRN
      • no key
    • DIFFRN_RADIATION_WAVELENGTH - Loop, child of DIFFRN_RADIATION
      • PK: _diffrn_radiation_wavelength.id

The import order is POW, IMG, MULTI, CORE, and from my interpretation of the duplication rules, is that the first ones in win.

What should the final definitions of DIFFRN_RADIATION and DIFFRN_RADIATION_WAVELENGTH be?

  • DIFFRN_RADIATION - Set, child of CIF_IMG_HEAD
    • PKs: _diffrn_radiation.diffrn_id, _diffrn_radiation.variant
  • DIFFRN_RADIATION_WAVELENGTH - Loop, child of DIFFRN_RADIATION
    • PKs: _diffrn_radiation_wavelength.id, _diffrn_radiation_wavelength.radiation_id
    • _drw.radiation_id is a FK pointing to _diffrn_radiation.id

or should _diffrn_radiation.id be in there also as part of the PK?

  • DIFFRN_RADIATION - Set, child of CIF_IMG_HEAD
    • PKs: _diffrn_radiation.diffrn_id, _diffrn_radiation.id, _diffrn_radiation.variant
  • DIFFRN_RADIATION_WAVELENGTH - Loop, child of DIFFRN_RADIATION
    • PKs: _diffrn_radiation_wavelength.id, _diffrn_radiation_wavelength.radiation_id
    • _drw.radiation_id is a FK pointing to _diffrn_radiation.id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions