juliema / label_reconciliations

Code for reconciling multiple transcriptions for a label
MIT License
26 stars 11 forks source link

Reconciler error #60

Closed rafelafrance closed 4 years ago

rafelafrance commented 4 years ago

./nfn_export.bash -v 4.7 -w 12480 -r Herbarium_Long-Beach_LA -e herbarium_long-beach-and-la-classifications.csv

This was the error: File "reconcile.py", line 328, in main() File "reconcile.py", line 309, in main unreconciled, column_types = formats[args.format].read(args) File "/home/data/notes-from-nature/label_reconciliations/lib/formats/nfn.py", line 25, in read get_nfn_only_defaults(df, args, workflow_id) File "/home/data/notes-from-nature/label_reconciliations/lib/formats/nfn.py", line 67, in get_nfn_only_defaults workflow_name = get_workflow_name(df) File "/home/data/notes-from-nature/label_reconciliations/lib/formats/nfn.py", line 93, in get_workflow_name workflow_name = df.workflow_name.iloc[0] File "/home/data/notes-from-nature/label_reconciliations/venv/lib/python3.6/site-packages/pandas/core/indexing.py", line 1478, in getitem return self._getitem_axis(maybe_callable, axis=axis) File "/home/data/notes-from-nature/label_reconciliations/venv/lib/python3.6/site-packages/pandas/core/indexing.py", line 2102, in _getitem_axis self._validate_integer(key, axis) File "/home/data/notes-from-nature/label_reconciliations/venv/lib/python3.6/site-packages/pandas/core/indexing.py", line 2009, in _validate_integer raise IndexError("single positional indexer is out-of-bounds") IndexError: single positional indexer is out-of-bounds Attachments area

rafelafrance commented 4 years ago

Wrong workflow ID.