Skip to content

Commit

Permalink
Increment version from 0.10.2 to 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesy1 committed Jun 17, 2024
1 parent 089d94b commit 638ebb2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "problem_bank_scripts"
version = "0.10.2"
version = "0.11.0"
description = "A package with useful functions to convert between different problem bank formats."
authors = ["Open Problem Bank Team"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/problem_bank_scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.10.2"
__version__ = "0.11.0"

from .problem_bank_scripts import *
6 changes: 3 additions & 3 deletions src/problem_bank_scripts/problem_bank_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,9 +902,9 @@ def process_workspace(part_name, parsed_question, data_dict):
html += f"""\n<pl-submission-panel>"""

if parsed_question["header"][part_name].get("gradingMethod", None) == "External":
html += f"""\n<pl-external-grader-results></pl-external-grader-results>\n<pl-file-preview></pl-file-preview>"""

html += f"""\n<ul>\n\t|@ #feedback.results @| \n\t<li>|@ . @|</li>\n\t|@ /feedback.results @|\n</ul>\n</pl-submission-panel>"""
html += f"""\n<pl-external-grader-results></pl-external-grader-results>\n<pl-file-preview></pl-file-preview>\n</pl-submission-panel>"""
else:
html += f"""\n<ul>\n\t|@ #feedback.results @| \n\t<li>|@ . @|</li>\n\t|@ /feedback.results @|\n</ul>\n</pl-submission-panel>"""


return replace_tags(html)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_problem_bank_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def test_version():
assert __version__ == "0.10.2"
assert __version__ == "0.11.0"


# TODO: excluding symbolic questions, needs to be fixed because of how sympy objects are handled
Expand Down

0 comments on commit 638ebb2

Please sign in to comment.