Closed comorbidity closed 3 minutes ago
Ah, that error message is not at all helpful, I agree - I've got a pass at a better one in #59. But ultimately, the issue there is that you are passing in the label studio export file as a config, rather than a custom config file.
There's not currently a CLI arg for a custom export file. I believe the thinking was that all such "custom" properties would flow from the config file. So you'd have a custom config pointing at your custom export. But if that's too awkward for everyday use, we can talk about other options.
Expected
Actual: 'list' object has no attribute 'get'
Failure Examples cd /opt/labelstudio/covid/kappa-bch/
$chart-review --config labelstudio-dec14-626-full.json accuracy andy alon $chart-review --config /opt/labelstudio/covid/kappa-bch/labelstudio-dec14-626-full.json accuracy andy alon
Working example ln -s labelstudio-dec14-626-full.json labelstudio-export.json $chart-review accuracy andy alon