Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Dec 6, 2023
1 parent 979b969 commit 7d09812
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ def subject_screening(self):
"Unable to determine the screening identifier. "
f"This should be part of the initial form data. Got {self.cleaned_data}"
)
# try:
# subject_screening = self.subject_screening_model_cls.objects.get(
# screening_identifier=screening_identifier
# )
# except ObjectDoesNotExist:
# raise forms.ValidationError(
# "Unable to find screening form. Invalid screening identifier. "
# f"Got `{screening_identifier}`"
# )
return get_subject_screening_or_raise(screening_identifier, is_modelform=True)

def clean_consent_reviewed(self) -> str:
Expand Down

0 comments on commit 7d09812

Please sign in to comment.