You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regex matches any input, so it fails given the condition statement.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jorge/code/bdonnot/Grid2Op/grid2op/Environment/Environment.py", line 1081, in train_val_split_random
raise EnvError("The suffixes you can use for training data (add_for_train) "
grid2op.Exceptions.EnvExceptions.EnvError: Grid2OpException EnvError "The suffixes you can use for training data (add_for_train) should match the regex "^[a-zA-Z0-9]*$""
Expected output
Splitted dataset.
The text was updated successfully, but these errors were encountered:
Environment
1.4.0
Bug description
When using
train_val_split_random()
an error is raised with any input.How to reproduce
Current output
Regex matches any input, so it fails given the condition statement.
Expected output
Splitted dataset.
The text was updated successfully, but these errors were encountered: