database name does not check validity if the name is not matching the pattern rule
I made a new database with name "replay-me" and it was valid. I assumed that if the name has a problem the editor will tell me. So I made an experiment using this database and it was invalid no matter what I did. Finally I ran the invalid experiment and I get:
Failed to load the experiment `zmostaani/zmostaani/sbhatta-iqm-face-antispoofing-test/2/newantispoofing':
* /datasets/dev_probes/database: 'replay-me/1' does not match '^[a-zA-Z_][a-zA-Z0-9_]*/[0-9]+$' (rule: /properties/datasets/patternProperties/^[a-zA-Z_][a-zA-Z0-9_-]*$/properties/database/
pattern)
* /datasets/test_probes/database: 'replay-me/1' does not match '^[a-zA-Z_][a-zA-Z0-9_]*/[0-9]+$' (rule: /properties/datasets/patternProperties/^[a-zA-Z_][a-zA-Z0-9_-]*$/properties/database
/pattern)
* /datasets/train/database: 'replay-me/1' does not match '^[a-zA-Z_][a-zA-Z0-9_]*/[0-9]+$' (rule: /properties/datasets/patternProperties/^[a-zA-Z_][a-zA-Z0-9_-]*$/properties/database/patte
rn)
Error: Error occured
I changed the name of the database to "replayme" and the experiment was valid afterwards. I think these patterns should be considered when checking the name chosen for the database.
Edited by Zohreh MOSTAANI