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.1.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.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nomad_polymerization_reactions-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4040b68f458d8d66f41d983dc8574652e0453f41485c851deaa65ac74fc48985
MD5 2bcdbe57ea7e3794e6959619ecab4177
BLAKE2b-256 1d51dae1903ec400b3dcf51235e15ef73e19ff1164e901238117ca120e65b361

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nomad_polymerization_reactions-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00d2fe0de1a8892c7005262a13411f873148b87bcd4dbb775d492ccb09d357dd
MD5 02365ab79a948700b6f481871b51d4b1
BLAKE2b-256 ed95347dd17707d2a8507ec39543c3afe8cb3626cdf75f3076aa00755e288174

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