Skip to content

Commit

Permalink
Updated dataset_config_schema to include lmdb_path
Browse files Browse the repository at this point in the history
  • Loading branch information
hkhanuja authored Jan 31, 2024
1 parent a34a69e commit 8749327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pysaliency/dataset_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
remove_stimuli_without_fixations
)

from schema import Schema, Optional
from schema import Schema, Optional, Or


dataset_config_schema = Schema({
Expand All @@ -23,6 +23,7 @@
'type': str,
Optional('parameters', default={}): dict,
}],
Optional('lmdb_path', default=None): Or(str, None),
})


Expand Down

0 comments on commit 8749327

Please sign in to comment.