Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ctlearn/tools/predict_LST1.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def start(self):
colname, colname.replace("_tel", "")
)
classification_subarray_table.add_column(
classification_is_valid[np.newaxis], name=f"{self.prefix}_telescopes"
[[val] for val in classification_is_valid], name=f"{self.prefix}_telescopes"
)
# Save the prediction to the output file
write_table(
Expand Down Expand Up @@ -685,7 +685,7 @@ def start(self):
colname, colname.replace("_tel", "")
)
energy_subarray_table.add_column(
energy_is_valid[np.newaxis], name=f"{self.prefix}_telescopes"
[[val] for val in energy_is_valid], name=f"{self.prefix}_telescopes"
)
# Save the prediction to the output file
write_table(
Expand Down Expand Up @@ -803,7 +803,7 @@ def start(self):
colname, colname.replace("_tel", "")
)
direction_subarray_table.add_column(
direction_is_valid[np.newaxis], name=f"{self.prefix}_telescopes"
[[val] for val in direction_is_valid], name=f"{self.prefix}_telescopes"
)
# Save the prediction to the output file
write_table(
Expand Down
Loading