easyaccess icon indicating copy to clipboard operation
easyaccess copied to clipboard

In python (at least) cannot upload file with "-" in the name, even with name= specified

Open erykoff opened this issue 8 years ago • 1 comments

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.

erykoff avatar Sep 01 '17 21:09 erykoff

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?

kadrlica avatar Jun 07 '18 03:06 kadrlica