Skip to content

Commit f1463e8

Browse files
committed
Clean code
- Useless variable. Signed-off-by: Valentin Dury <valentin03dury@gmail.com>
1 parent 3f51c9c commit f1463e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aloscene/io/flow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ def load_scene_flow(path: str) -> np.ndarray:
4545
f"Scene flow file should be of type .npy, but {path} has the extension .{path.split('.')[-1]}"
4646
)
4747
with open(path, "rb") as file:
48-
data = np.load(file)
49-
return data
48+
return np.load(file)

0 commit comments

Comments
 (0)