Skip to content
Snippets Groups Projects
Commit ea54f5e4 authored by a.croix's avatar a.croix
Browse files

Remove [ and ] to display weights on wowa_show blade file

parent f81695d1
No related branches found
No related tags found
1 merge request!2New Log system
Pipeline #6228 passed
......@@ -54,12 +54,14 @@ class Wowa extends Model
public function weightsP()
{
return $this->p_weights;
$P = $this->p_weights;
return str_replace(array('[', ']'), '', $P);
}
public function weightsW()
{
return $this->w_weights()->toArray();
$W = $this->w_weights();
return str_replace(array('[', ']'), '', $W);
}
//Method to get the path for the log file. Name linked to the Wowa id in sqlite DB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment