FAIRmat-NFDI / nomad-perovskite-solar-cells-database

A NOMAD plugin containing the schema for the Perovskite Solar Cell Database.
https://fairmat-nfdi.github.io/nomad-perovskite-solar-cells-database/
Apache License 2.0
4 stars 1 forks source link

Migration of the perovskite database from the NOMAD source code to this plugin. #1

Closed Pepe-Marquez closed 11 months ago

Pepe-Marquez commented 11 months ago
  m_package = Package(name='perovskite_database')

  class PerovskiteSolarCell(EntryData):
      """
      This schema is adapted to map the data in the [Perovskite Solar Cell Database
      Project](https://www.perovskitedatabase.com/). The descriptions in the quantities
      represent the instructions given to the user who manually curated the data.
      """

      m_def = Section(
          label='Perovskite Solar Cell',
          a_eln=dict(lane_width='400px'),
          categories=[UseCaseElnCategory])

      ref = SubSection(section_def=Ref)
      cell = SubSection(section_def=Cell)
      module = SubSection(section_def=Module)
      substrate = SubSection(section_def=Substrate)
      etl = SubSection(section_def=ETL)
      perovskite = SubSection(section_def=Perovskite)
      perovskite_deposition = SubSection(section_def=PerovskiteDeposition)
      htl = SubSection(section_def=HTL)
      backcontact = SubSection(section_def=Backcontact)
      add = SubSection(section_def=Add)
      encapsulation = SubSection(section_def=Encapsulation)
      jv = SubSection(section_def=JV)
      stabilised = SubSection(section_def=Stabilised)
      eqe = SubSection(section_def=EQE)
      stability = SubSection(section_def=Stability)
      outdoor = SubSection(section_def=Outdoor)

  m_package.__init_metainfo__()