diff --git a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedPathExpansion.js b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedPathExpansion.js
index 0680a45c7..af89aea7d 100644
--- a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedPathExpansion.js
+++ b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedPathExpansion.js
@@ -404,14 +404,12 @@ export class GuidedPathExpansionPage extends Page {
if (value.split(".").length > 1) entry.file_path = value;
else entry.folder_path = value;
- const results = await run(
- `neuroconv/locate`,
- { [interfaceName]: entry },
- { swal: false }
- ).catch((error) => {
- this.notify(error.message, "error");
- throw error;
- });
+ const results = await run(`neuroconv/locate`, { [interfaceName]: entry }, { swal: false }).catch(
+ (error) => {
+ this.notify(error.message, "error");
+ throw error;
+ }
+ );
const resolved = [];
@@ -434,8 +432,7 @@ export class GuidedPathExpansionPage extends Page {
return [
{
message: html`
- ✅Source Files Found for
- ${interfaceName}
+ ✅Source Files Found for ${interfaceName}
${base_directory}
(path ? path.join(...args) : args.filter((str) => str).join("/"));
@@ -23,19 +23,19 @@ const root = isTestEnvironment ? joinPath(paths.root, ".test") : paths.root;
export const homeDirectory = os.homedir();
-export const appDirectory = joinPath(homeDirectory, root)
+export const appDirectory = joinPath(homeDirectory, root);
-export const guidedProgressFilePath = joinPath(appDirectory, ...paths.subfolders.progress)
+export const guidedProgressFilePath = joinPath(appDirectory, ...paths.subfolders.progress);
-export const previewSaveFolderPath = joinPath(appDirectory, ...paths.subfolders.preview)
-export const conversionSaveFolderPath = joinPath(appDirectory, ...paths.subfolders.conversions)
+export const previewSaveFolderPath = joinPath(appDirectory, ...paths.subfolders.preview);
+export const conversionSaveFolderPath = joinPath(appDirectory, ...paths.subfolders.conversions);
-export const testDataFolderPath = joinPath(appDirectory, ...paths.subfolders.testdata)
+export const testDataFolderPath = joinPath(appDirectory, ...paths.subfolders.testdata);
// Encryption
const IV_LENGTH = 16;
const KEY_LENGTH = 32;
-export const ENCRYPTION_KEY = Buffer.concat([Buffer.from(appDirectory), Buffer.alloc(KEY_LENGTH)], KEY_LENGTH)
+export const ENCRYPTION_KEY = Buffer.concat([Buffer.from(appDirectory), Buffer.alloc(KEY_LENGTH)], KEY_LENGTH);
export const ENCRYPTION_IV = crypto.randomBytes(IV_LENGTH);
diff --git a/src/electron/frontend/core/progress/update.js b/src/electron/frontend/core/progress/update.js
index a5ce4a054..f07ea80b1 100644
--- a/src/electron/frontend/core/progress/update.js
+++ b/src/electron/frontend/core/progress/update.js
@@ -16,7 +16,6 @@ export const rename = (newDatasetName, previousDatasetName) => {
const oldProgressFilePath = `${guidedProgressFilePath}/${previousDatasetName}.json`;
const newProgressFilePath = `${guidedProgressFilePath}/${newDatasetName}.json`;
fs.renameSync(oldProgressFilePath, newProgressFilePath);
-
} else throw new Error("No previous project name provided");
};
@@ -53,7 +52,7 @@ export const updateFile = (projectName, callback) => {
var guidedFilePath = joinPath(guidedProgressFilePath, projectName + ".json");
- console.log(guidedProgressFilePath)
+ console.log(guidedProgressFilePath);
// Save the file through the available mechanisms
if (!fs.existsSync(guidedProgressFilePath)) fs.mkdirSync(guidedProgressFilePath, { recursive: true }); //create progress folder if one does not exist