From 638ebb2ee56dba29ae1c175d4ce29a508b7b0f58 Mon Sep 17 00:00:00 2001 From: Bluesy1 <68259537+Bluesy1@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:25:53 -0700 Subject: [PATCH] Increment version from 0.10.2 to 0.11.0 --- pyproject.toml | 2 +- src/problem_bank_scripts/__init__.py | 2 +- src/problem_bank_scripts/problem_bank_scripts.py | 6 +++--- tests/test_problem_bank_scripts.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 028aa5f7..812125e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/problem_bank_scripts/__init__.py b/src/problem_bank_scripts/__init__.py index b78b4e9c..a3c7d33f 100644 --- a/src/problem_bank_scripts/__init__.py +++ b/src/problem_bank_scripts/__init__.py @@ -1,3 +1,3 @@ -__version__ = "0.10.2" +__version__ = "0.11.0" from .problem_bank_scripts import * diff --git a/src/problem_bank_scripts/problem_bank_scripts.py b/src/problem_bank_scripts/problem_bank_scripts.py index da199f57..7b82c606 100644 --- a/src/problem_bank_scripts/problem_bank_scripts.py +++ b/src/problem_bank_scripts/problem_bank_scripts.py @@ -902,9 +902,9 @@ def process_workspace(part_name, parsed_question, data_dict): html += f"""\n""" if parsed_question["header"][part_name].get("gradingMethod", None) == "External": - html += f"""\n\n""" - - html += f"""\n\n""" + html += f"""\n\n\n""" + else: + html += f"""\n\n""" return replace_tags(html) diff --git a/tests/test_problem_bank_scripts.py b/tests/test_problem_bank_scripts.py index 37d41d12..f55637f1 100644 --- a/tests/test_problem_bank_scripts.py +++ b/tests/test_problem_bank_scripts.py @@ -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