From 01cda57ffd9edc0a3f53501399c134815232e4b5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 17:38:24 +0200 Subject: inspect mode for samplernn sanity --- app/client/modules/samplernn/samplernn.actions.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'app/client/modules/samplernn/samplernn.actions.js') diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index becab34..339c347 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -35,7 +35,7 @@ export const load_directories = () => (dispatch) => { const fileLookup = unprocessedFiles.reduce((fileLookup, file) => { file.checkpoints = [] if (! file.name) { - file.name = (file.opt || {}).token || 'unloaded' + file.name = (file.opt || {}).token || file.url // fileLookup[(file.name || 'unsorted').split('.')[0]] = file } else { fileLookup[(file.name).split('.')[0]] = file @@ -100,11 +100,10 @@ export const load_directories = () => (dispatch) => { type: types.samplernn.init, data: { folderLookup, - // folders, files, - // checkpoints, - // builtDatasets, - // flatDatasets, - // report + folders, files, + checkpoints, + builtDatasets, + report }, }) if (folders.length) { -- cgit v1.2.3-70-g09d2