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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nomad_polymerization_reactions-0.2.1.tar.gz.
File metadata
- Download URL: nomad_polymerization_reactions-0.2.1.tar.gz
- Upload date:
- Size: 4.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4040b68f458d8d66f41d983dc8574652e0453f41485c851deaa65ac74fc48985
|
|
| MD5 |
2bcdbe57ea7e3794e6959619ecab4177
|
|
| BLAKE2b-256 |
1d51dae1903ec400b3dcf51235e15ef73e19ff1164e901238117ca120e65b361
|
File details
Details for the file nomad_polymerization_reactions-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nomad_polymerization_reactions-0.2.1-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00d2fe0de1a8892c7005262a13411f873148b87bcd4dbb775d492ccb09d357dd
|
|
| MD5 |
02365ab79a948700b6f481871b51d4b1
|
|
| BLAKE2b-256 |
ed95347dd17707d2a8507ec39543c3afe8cb3626cdf75f3076aa00755e288174
|