Skip to content

Commit

Permalink
small update SimpleDatasetOverview
Browse files Browse the repository at this point in the history
  • Loading branch information
LonnekeScheffer committed Nov 7, 2023
1 parent 4a51a66 commit de05f14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion immuneML/reports/data_reports/SimpleDatasetOverview.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _generate(self) -> ReportResult:
text_path.write_text(output_text)

return ReportResult(name=self.name,
info="A simple text-based overview of the properties of any dataset, including the dataset name, size, and metadata labels.",
info=f"A simple overview of the properties of dataset {self.dataset.name}",
output_text=[ReportOutput(text_path, f"Description of dataset {dataset_name}")])

def _get_generic_dataset_text(self):
Expand Down
2 changes: 0 additions & 2 deletions test/reports/data_reports/test_SimpleDatasetOverview.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def test_generate_receptor_dataset(self):
self.assertIsInstance(result, ReportResult)

self.assertTrue(os.path.isfile(path / "result/dataset_description.txt"))
self.assertTrue(os.path.isfile(path / "result/label_results_table.html"))

shutil.rmtree(path)

Expand All @@ -68,6 +67,5 @@ def test_generate_repertoire_dataset(self):

self.assertIsInstance(result, ReportResult)
self.assertTrue(os.path.isfile(path / "result/dataset_description.txt"))
self.assertTrue(os.path.isfile(path / "result/label_results_table.html"))

shutil.rmtree(path)

0 comments on commit de05f14

Please sign in to comment.