Skip to content

Commit 3ec9533

Browse files
authored
Update README.md
1 parent d360527 commit 3ec9533

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

examples/biochemistry/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,17 @@ It would also be a valid choice to move the `metal_salt_mass_unit`, `metal_salt_
149149
The same applies for the `linker_name` and `metal_salt_name` properties.
150150
They could also be fully removed, as the `cid` attribute will be used to identify the compounds (exception: if no corresponding molecule is found in PubChem, then information would be lost).
151151

152-
Now, let's write a Python script to enrich the data with the additional metadata.
153-
The script is provided in the [enrich_data.py](enrich_data.py) file.
152+
Now, let's write a Python script to enrich the data with the additional metadata: [enrich_data.py](enrich_data.py).
153+
Run the script using Python and from the same folder where the `ecmofsynthesis.json` file is located.
154+
155+
```bash
156+
python enrich_data.py
157+
```
158+
or
159+
```bash
160+
python3 enrich_data.py
161+
```
162+
154163
The resulting JSON file is provided in the [ecmofsynthesis_enriched.json](ecmofsynthesis_enriched.json) file.
155164

156165
If we load the enriched data into MetaConfigurator (using the 'Import Data' button), we can see that the `metal_salt` and `linker` properties now have the additional metadata.
@@ -164,4 +173,4 @@ It also showed how to enrich the data with additional metadata from the PubChem
164173

165174
By having the data in a machine-readable format, it is easy to apply additional tools and services on it.
166175
This can be useful for data integration, data analysis, data visualization, machine learning and many other applications.
167-
MetaConfigurator is a generic tool and can be used for any kind of data of any domain.
176+
MetaConfigurator is a generic tool and can be used for any kind of data of any domain.

0 commit comments

Comments
 (0)