Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Traffic Simulation DSS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
URBANITE
Open
Traffic Simulation DSS
Commits
5318ee31
Commit
5318ee31
authored
1 year ago
by
Gjorgji
Browse files
Options
Downloads
Patches
Plain Diff
Fixing recc.engine bug - empty dictionaries in kpis
parent
50c90e73
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/api/dexi.py
+1
-1
1 addition, 1 deletion
app/api/dexi.py
with
1 addition
and
1 deletion
app/api/dexi.py
+
1
−
1
View file @
5318ee31
...
...
@@ -360,7 +360,7 @@ def plus_one_kpi_change_generator(json_file: Dict, step_size, analysis_limit):
was_it_increased_flag
=
False
if
k
==
'
simulation_id
'
:
continue
if
isinstance
(
v
,
dict
):
if
isinstance
(
v
,
dict
)
and
len
(
v
)
!=
0
:
json_file
[
k
]
=
plus_one_kpi_change_generator
(
v
,
step_size
,
analysis_limit
)
for
i
in
json_file
[
k
]:
json_file
[
k
]
=
i
[
0
]
...
...
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