Spaces:
Running
Running
Download app_utils/examples.py from HassounLab/FLARE: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/HassounLab/FLARE/resolve/2afdf25f03e21d82b94de7e6138c7af3a1f44e5d/app_utils/examples.py
- Command line
-
hf download hf://spaces/HassounLab/FLARE@2afdf25f03e21d82b94de7e6138c7af3a1f44e5d/app_utils/examples.py
-
curl -L -o examples.py https://huggingface.co/spaces/HassounLab/FLARE/resolve/2afdf25f03e21d82b94de7e6138c7af3a1f44e5d/app_utils/examples.py
228 Bytes
| import pandas as pd | |
| data = pd.read_csv("data/sample/data.tsv", sep='\t') | |
| data = data[['identifier', 'mzs', 'intensities', 'smiles', 'formula', 'precursor_mz', 'adduct']] | |
| EXAMPLES = data.set_index('identifier').to_dict('index') |