diff --git a/lib/gear/metadata.py b/lib/gear/metadata.py index 9eedc72e..4a983186 100755 --- a/lib/gear/metadata.py +++ b/lib/gear/metadata.py @@ -274,14 +274,14 @@ def save_to_mysql(self, status=None, is_public=0): is_public = 0 All datasets will save as private. Once the upload is complete, the user can change the dataset to public on the dataset manager. - load_status = 'complete' - All datasets will save as 'complete'. + load_status = 'completed' + All datasets will save as 'completed'. """ if self.metadata is None: raise Exception("No values to evaluate. Please load a metadata file first.") if status is None: - status = 'complete' + status = 'completed' df = self.metadata diff --git a/www/cgi/finalize_uploaded_expression_dataset.cgi b/www/cgi/finalize_uploaded_expression_dataset.cgi index 93835f6d..7ac36c12 100755 --- a/www/cgi/finalize_uploaded_expression_dataset.cgi +++ b/www/cgi/finalize_uploaded_expression_dataset.cgi @@ -89,7 +89,7 @@ def main(): # Load the metadata into the database metadata = Metadata(file_path=metadata_file) try: - metadata.save_to_mysql(status='complete', is_public=is_public) + metadata.save_to_mysql(status='completed', is_public=is_public) result['metadata_loaded'] = 1 except Exception as e: result['message'] = 'Error saving metadata to MySQL: {}'.format(str(e))