lfoppiano / supercon2

Staging-area for automatically collected experimental data for the SuperCon database with a curation interface with enhanced-document viewer and curation-ready interface
https://supercon2.readthedocs.io
4 stars 0 forks source link

Inconsistency of data between version 0.4 and 0.5 #156

Closed lfoppiano closed 1 year ago

lfoppiano commented 1 year ago

Something related to the attributes that was changed, is missing

t29mato commented 1 year ago

old version:

{
    "material0_shape": "single crystal",
    "material0_clazz": "Alloys",
    "material0_resolvedFormula_0": "V 3 Si",
    "material0_formula": "V 3 Si",
    "material0_rawTaggedValue": "<formula>V 3 Si</formula> <shape>single crystal</shape> "
}

new version:

{
    "material0_formula_rawValue": "Cu 0.25 Bi 2 (Te x Se 1−x ) 3",
    "material0_formula_formulaComposition_Te": "3*x",
    "material0_formula_formulaComposition_Se": "3-3*x",
    "material0_formula_formulaComposition_Cu": "0.25",
    "material0_formula_formulaComposition_Bi": "2",
    "material0_rawTaggedValue": "<formula>Cu 0.25 Bi 2 (Te x Se 1−x ) 3</formula> ",
    "material0_resolvedFormulas_0_rawValue": "Cu 0.25 Bi 2 (Te x Se 1−x ) 3",
    "material0_resolvedFormulas_0_formulaComposition_Te": "3*x",
    "material0_resolvedFormulas_0_formulaComposition_Se": "3-3*x",
    "material0_resolvedFormulas_0_formulaComposition_Cu": "0.25",
    "material0_resolvedFormulas_0_formulaComposition_Bi": "2",
    "material0_class": "Chalcogenides"
}
lfoppiano commented 1 year ago

We are now retro-compatible with the older format, however everything created before 0.4 are incompatible with the current database.