Skip to main content

A NOMAD plugin for polymerization reactions.

Project description

A NOMAD plugin providing schemas, search apps, and data transformation utilities for polymerization data extracted from publications.

Availability

This plugin is hosted on NOMAD's example Oasis. You can use the built-in schemas Monomer and PolymerizationReaction to create entries. You can also use a dedicated search app to look up polymerization-specific entries here.

Installation

Install the package in your local environment with pip:

pip install nomad-polymerization-reactions

Adding this plugin to NOMAD Oasis

The plugin can be added to a NOMAD Oasis instance in a few steps, provided that you have access to the repository hosting the Oasis.

Read the NOMAD plugin documentation for all details on how to deploy the plugin on your NOMAD instance. If you wanna get started with a new Oasis, start here.

Using the CLI for data transformation

The package provides utility functions for transforming JSON files into NOMAD entry archives. These archives have archive.json ending and are processed by NOMAD once uploaded. The m_def key in the archives helps NOMAD to identify which data schema to use.

Here's how you can convert a JSON file into an NOMAD entry archive that uses nomad_polymerization_reactions.schema_packages.polymerization.Monomer schema:

nomad-polymerization archive monomer.json

If you want to create an archive that uses nomad_polymerization_reactions.schema_packages.polymerization.PolymerizationReaction schema, use the polymerization mode:

nomad-polymerization archive polymerization_reaction.json --mode polymerization

You can specify multiple filepaths in the same command or even use directory paths. All the .json files in the directory will be transformed into archives:

nomad-polymerization archive /folder/polymerization/ --mode polymerization

By default, the command will create the archives in the same directory where it runs. If you want to create them in the same directory as the JSON file, use the flag --same-dir:

nomad-polymerization archive /folder/sub-folder/monomer.json --same-dir
# creates `monomer.archive.json` file in `/folder/sub-folder/`

The JSON files used for transformation should have a fixed format. You can find the data models for JSON files here.

License

Distributed under the terms of the Apache Software License 2.0 license, "nomad-polymerization-reactions" is free and open source software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nomad_polymerization_reactions-0.2.2.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nomad_polymerization_reactions-0.2.2-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file nomad_polymerization_reactions-0.2.2.tar.gz.

File metadata

File hashes

Hashes for nomad_polymerization_reactions-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8a5887cb4bfa54a486c4448f6d0077d2151c73e8d6c88fd3614e6faa8c02eac5
MD5 b3e9ffa8e06dab1da92ebd4d722c2e7d
BLAKE2b-256 019d467db0696981e01b2267af0592371b9c8535975063c4a87b28d81f7e15d8

See more details on using hashes here.

File details

Details for the file nomad_polymerization_reactions-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nomad_polymerization_reactions-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0d3b2427ac1459295c2b9fe9f58aa72bd307011a561e13c8b84b62352162a9
MD5 10ded78526bcf91fbaec447e6287e828
BLAKE2b-256 548bd292005ed51b3c0f99e3c3cc12fe24ee3ca4d2e61dfcee4916ef84ec250a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page