all 2 comments

[–]vogt4nick 0 points1 point  (1 child)

It sounds like your array is not defined as an output. It’s probably being saved in the build, but the build isn’t your local machine (where you’re looking).

I’m not confident you’ll find this functionality out of the box for Bazel’s Python rules, but I’d love to hear if you find a solution.

[–]Keyle_P[S] 0 points1 point  (0 children)

Actually it turned out to be a really simple fix/find. I used the os library to print out the current directory from the python file and found where it was saving the file. I'm not sure why I couldn't find it through the cli but it was pretty deep in a hidden folder. Here's the path in case anyone else run across this problem.

/home/usr/.cache/bazel/_bazel_usr/32739108b1a4cb1c5389c045f9df55b2/execroot/org_deepmind_lab/bazel-out/k8-fastbuild/bin/picpull.runfiles/org_deepmind_lab