Skip to content

Commit

Permalink
🩹 Reactivated skipped test and fixed failing code
Browse files Browse the repository at this point in the history
This is mainly a reminder that we need to properly deprecate the missing attributes.
  • Loading branch information
s-weigand committed Oct 13, 2021
1 parent bf3e413 commit 158c822
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions glotaran/project/scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ def markdown(self):
markdown_str = "\n\n"
markdown_str += "__Scheme__\n\n"

markdown_str += f"* *nnls*: {self.non_negative_least_squares}\n"
markdown_str += f"* *nfev*: {self.maximum_number_function_evaluations}\n"
markdown_str += f"* *group_tolerance*: {self.group_tolerance}\n"

return model_markdown_str + MarkdownStr(markdown_str)

Expand Down
2 changes: 0 additions & 2 deletions glotaran/project/test/test_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def test_scheme(mock_scheme: Scheme):
assert mock_scheme.data["dataset1"].data.shape == (1, 3)


# TODO: don't know how to fix
@pytest.mark.skip("TEMPORARY")
def test_scheme_ipython_rendering(mock_scheme: Scheme):
"""Autorendering in ipython"""

Expand Down

0 comments on commit 158c822

Please sign in to comment.