remove experimental ontology support (#2300)

* remove experimental ontology support

* lint

* remove ontologies from unit tests

* additional test changes
This commit is contained in:
Bruce Martin
2021-07-14 07:23:38 -07:00
committed by GitHub
parent 45a8984223
commit e334fbe96e
35 changed files with 28 additions and 269 deletions
@@ -115,7 +115,7 @@ class AnnotationsLocalFile(Annotations):
return os.getcwd()
def _get_filename(self, data_adaptor):
""" return the current annotation file name """
"""return the current annotation file name"""
if self.output_file:
return self.output_file
@@ -175,12 +175,6 @@ class AnnotationsLocalFile(Annotations):
params["annotations"] = True
params["user_annotation_collection_name_enabled"] = True
if self.ontology_data:
params["annotations_cell_ontology_enabled"] = True
params["annotations_cell_ontology_terms"] = self.ontology_data
else:
params["annotations_cell_ontology_enabled"] = False
if self.output_file is not None:
# user has hard-wired the name of the annotation data collection
fname = os.path.basename(self.output_file)