Skip to content

Commit

Permalink
Can be none (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
benemer authored Jan 20, 2025
1 parent b1b5e6f commit 02c94f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/precache.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def precache(
from mapmos.datasets.mapmos_dataset import MapMOSDataset, collate_fn

cfg = load_config(config)
sequences = list(sequence) if len(sequence) > 0 else cfg.training.train + cfg.training.val
sequences = list(sequence) if sequence != None else cfg.training.train + cfg.training.val

data_iterable = DataLoader(
MapMOSDataset(
Expand Down

0 comments on commit 02c94f6

Please sign in to comment.