Skip to content

Commit

Permalink
fixing litin
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian authored and saramonzon committed Oct 5, 2023
1 parent 7c3a418 commit 46ef96d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions wetlab/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ def record_samples(request):
and request.POST["action"] == "select_samples_pre_defined"
):
excel_data = json.loads(request.POST["predef_table_data"])

header = json.loads(request.POST["predef_table_header"])

# Change excel header (verbose_name) to field names
Expand Down Expand Up @@ -2423,14 +2423,14 @@ def record_samples(request):
except ValueError:
error_message = core.core_config.ERROR_INVALID_SAMPLE_BATCH_FILE
return render(
request,
"wetlab/record_sample.html",
{
"error_message" : error_message,
"fields_info": fields_info,
"pre_def_samples": pre_def_samples,
"template_path": template_path,
},
request,
"wetlab/record_sample.html",
{
"error_message" : error_message,
"fields_info": fields_info,
"pre_def_samples": pre_def_samples,
"template_path": template_path,
},
)
sample_batch_df = sample_batch_df.dropna(how="all")

Expand Down

0 comments on commit 46ef96d

Please sign in to comment.