Skip to content

Commit

Permalink
Solved issue BU-ISCIII#306 Type error when user want to repeat the mo…
Browse files Browse the repository at this point in the history
…lecule extraction
  • Loading branch information
luissian committed Sep 28, 2024
1 parent 95dbf45 commit a9b4134
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wetlab/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3443,7 +3443,8 @@ def repeat_molecule_extraction(request):
if request.method == "POST" and request.POST["action"] == "repeat_extraction":
sample_id = request.POST["sample_id"]
if wetlab.utils.sample.analyze_reprocess_data(
["New Extraction"], sample_id, request.user
["New Extraction"],
sample_id,
):
molecule_protocol = core.utils.samples.get_table_record_molecule(
[sample_id], __package__
Expand All @@ -3452,7 +3453,7 @@ def repeat_molecule_extraction(request):

return render(
request,
"wetlab/handlingMolecules.html",
"wetlab/handling_molecules.html",
{"molecule_protocol": molecule_protocol},
)
# return to the main page because the page was not requested for the right page
Expand Down

0 comments on commit a9b4134

Please sign in to comment.