Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mark-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
mark-web
Commits
ea54f5e4
Commit
ea54f5e4
authored
3 years ago
by
a.croix
Browse files
Options
Downloads
Patches
Plain Diff
Remove [ and ] to display weights on wowa_show blade file
parent
f81695d1
No related branches found
No related tags found
1 merge request
!2
New Log system
Pipeline
#6228
passed
3 years ago
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/Wowa.php
+4
-2
4 additions, 2 deletions
app/Wowa.php
with
4 additions
and
2 deletions
app/Wowa.php
+
4
−
2
View file @
ea54f5e4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment