obiba / opal-python-client

Python command lines for accessing Opal web services.
GNU General Public License v3.0
4 stars 3 forks source link

'dict' object has no attribute 'separator' #25

Closed djuarezgf closed 1 year ago

djuarezgf commented 1 year ago

When I execute the following command: opal import-csv --opal http://localhost:8880 --user administrator --password XXXX --path /projects/test/patients.csv --separator \t --destination test --tables patient --type Patient --identifiers Patient-ID --json

I get the following message: 'dict' object has no attribute 'separator'

ymarcon commented 1 year ago

What if you put \t between quotes? ... --separator "\t" ...

djuarezgf commented 1 year ago

The same result :/

djuarezgf commented 1 year ago

I use the latest version of obiba-opal (5.0.1)

ymarcon commented 1 year ago

Fixed and released, please try 5.0.2, thanks for the report.

djuarezgf commented 1 year ago

Thank you very much. It works!