Skip to content

Commit 26b2a3c

Browse files
committed
Begin formatting
1 parent b2b5fdc commit 26b2a3c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

mdio/coordinate_selector.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "tensorstore/index_space/index_transform_builder.h"
1515
#include "tensorstore/box.h"
1616

17-
#define MDIO_INTERNAL_PROFILING 0 // TODO(BrianMichell): Remove simple profiling code once we approach a more mature API access.
17+
// #define MDIO_INTERNAL_PROFILING 0 // TODO(BrianMichell): Remove simple profiling code once we approach a more mature API access.
1818

1919
namespace mdio {
2020

@@ -56,16 +56,16 @@ class CoordinateSelector {
5656
explicit CoordinateSelector(const Dataset& dataset)
5757
: dataset_(dataset), base_domain_(dataset.domain) {}
5858

59-
template <typename OutT, typename... Ops>
60-
Future<std::vector<OutT>> ReadDataVariable(const std::string& data_variable, Ops const&... ops) {
61-
// 1) apply filters & sorts in the exact order given
62-
absl::Status st = absl::OkStatus();
63-
((st = st.ok() ? _applyOp(ops).status() : st), ...);
64-
if (!st.ok()) return st;
59+
template <typename OutT, typename... Ops>
60+
Future<std::vector<OutT>> ReadDataVariable(const std::string& data_variable, Ops const&... ops) {
61+
// 1) apply filters & sorts in the exact order given
62+
absl::Status st = absl::OkStatus();
63+
((st = st.ok() ? _applyOp(ops).status() : st), ...);
64+
if (!st.ok()) return st;
6565

66-
// 2) finally read out the requested variable
67-
return readSelection<OutT>(data_variable);
68-
}
66+
// 2) finally read out the requested variable
67+
return readSelection<OutT>(data_variable);
68+
}
6969

7070
/**
7171
* @brief Filter the Dataset by the given coordinate.

0 commit comments

Comments
 (0)