Skip to content

Commit 3adc946

Browse files
Comments in mobmat2traj are reversed on the definition of status (#282)
1 parent 9bc49fe commit 3adc946

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/forest/jasmine/mobmat2traj.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,8 @@ def imp_to_traj(
12531253
start_idx = end_idx
12541254
end_idx += 1
12551255

1256-
# If the trajectory is a flight, add it to the tidy_trajectory
1256+
# If the trajectory is multiple pauses,
1257+
# add it to the tidy_trajectory
12571258
if temp[start, 0] == 2:
12581259
tidy_trajectory.append(
12591260
[
@@ -1262,7 +1263,8 @@ def imp_to_traj(
12621263
*temp[end, 4:7],
12631264
]
12641265
)
1265-
# If the trajectory is a pause, add it to the tidy_trajectory
1266+
# If the trajectory is a flight in one row,
1267+
# add it to the tidy_trajectory
12661268
elif end == start:
12671269
tidy_trajectory.append(
12681270
[

0 commit comments

Comments
 (0)