Skip to content

Commit

Permalink
#61: fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-bfsquall committed Sep 19, 2024
1 parent 2777478 commit 7c7b17a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bindings/python/config_validator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace vt::tv::bindings::python {
/**
* Get the list of missing parameters
*
* @return A string containing the list of the missing parameters
* @return A string containing the list of the missing parameters
*/
std::string ConfigValidator::getMissingRequiredParameters()
{
Expand All @@ -32,9 +32,9 @@ namespace vt::tv::bindings::python {
for (std::string requiredParameter: requiredParameters) {
if (!config[requiredParameter]) {
if (i == 0 ) {
parameters = parameters + requiredParameter;
parameters = parameters + requiredParameter;
} else {
parameters = parameters + ", " + requiredParameter;
parameters = parameters + ", " + requiredParameter;
}
i++;
}
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void tvFromJson(const std::vector<std::string>& input_json_per_rank_list, const
try {
// Load the configuration from serialized YAML
YAML::Node viz_config = YAML::Load(input_yaml_params_str);

// Config Validator
ConfigValidator config_validator(viz_config);

Expand Down
2 changes: 1 addition & 1 deletion tests/test_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# source dir is the directory a level above this file
source_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# Read the YAML config file
# Read the YAML config file
with open(f'{source_dir}/tests/test_bindings_conf.yaml', 'r') as stream:
try:
params = yaml.safe_load(stream)
Expand Down

0 comments on commit 7c7b17a

Please sign in to comment.