Skip to content

Instantly share code, notes, and snippets.

@Bjwebb

Bjwebb/cli_output.txt

Last active Aug 29, 2015
Embed
What would you like to do?
~/code/opencontracting/flattening-ocds(master)» ./flatten-ocds unflatten in/errors.xlsx -f xlsx -m Sheet1 -o out/error.json
/home/bjwebb/code/opencontracting/flattening-ocds/flattening_ocds/input.py:199: UserWarning: Non-integer value "notanint" found in integer column, returning as string instead.
warn('Non-integer value "{}" found in integer column, returning as string instead.'.format(value))
/home/bjwebb/code/opencontracting/flattening-ocds/flattening_ocds/input.py:193: UserWarning: Non-numeric value "notanumber" found in number column, returning as string instead.
warn('Non-numeric value "{}" found in number column, returning as string instead.'.format(value))
{
"releases": [
{
"ocid": 1,
"a": 1,
"b": 1.2,
"c": "1994-11-05T13:15:30Z"
},
{
"ocid": 1,
"a": "notanint",
"b": "notanumber",
"c": "2015-01-01T00:00:00+00:00"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment