Closed mslarae13 closed 2 months ago
When using the EMSL mapper, we need to include the --header
option, like below:
$ poetry run python etl.py --submission d6293e5e-6fed-4705-ae1e-790749e2e094 --user-facility emsl --mapper input-files/emsl_header.json --header --unique-field samp_name --output test_2024-08_emsl.xlsx
To do: test with @sujaypatil96 's corrections to the command.
adding --header fixed my problem
I recently ran the MUTTs script to transform a metadata sheet to the EMSL format
poetry run python etl.py --submission d6293e5e-6fed-4705-ae1e-790749e2e094 --user-facility emsl --mapper input-files/emsl_header.json --unique-field samp_name --output test_2024-08_emsl.xlsx
The EMSL excel file that is output doesn't have any metadata. It has the headers, but the mapping from the NMDC submission to the EMSL headers seems to be broken.