can not upload file to empty dataset
upload function will verify if file_name already exist, if dataset is empty will lauchn an error
File "/u/juxiao/Projects/pyiricdata/pyiricdata/Client.py", line 561, in file_upload
self._verify_file_in_dataset(file_name, dataset)
File "/u/juxiao/Projects/pyiricdata/pyiricdata/Client.py", line 537, in _verify_file_in_dataset
if file_name in dataset_details['filename'].values:
File "/u/juxiao/Projects/Leucegene_DataManagement/venv_ldf/lib/python3.8/site-packages/pandas/core/frame.py", line 3505, in __getitem__
indexer = self.columns.get_loc(key)
File "/u/juxiao/Projects/Leucegene_DataManagement/venv_ldf/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3623, in get_loc
raise KeyError(key) from err
KeyError: 'filename'
Edited by Xiao Ju