easyaccess
easyaccess copied to clipboard
In python (at least) cannot upload file with "-" in the name, even with name= specified
If attempting to upload a file with a "-" in the name (as in any file with a DES tilename) from connection.append_table(filename, name=table_name), easyaccess complains Invalid table name, change filename or use --tablename. However, this happens even when you specify a valid tablename.
I think the issue is in the loop here. Since table is None it is throwing an error without even trying name. I think we need some logic that sets the table name before doing the loop to check for bad characters. @mgckind?