From 6333dbf59df44a84319e588079877f71308dfcf0 Mon Sep 17 00:00:00 2001 From: megasanjay Date: Fri, 27 May 2022 17:54:18 +0000 Subject: [PATCH] Fixes by misspell-fixer --- README.md | 2 +- app/osparc/job_api.py | 2 +- assets/INPUT_FOLDER/main.m | 8 ++++---- knowmore-notebook/knowmore-notebook.ipynb | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1c661ea..2650856 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ A sample output is presented in the figure below.

- coming-soon... + coming-soon...
Sample output from KnowMore. It consists of interactive text and plots display to the user. diff --git a/app/osparc/job_api.py b/app/osparc/job_api.py index 951b131..6db9fa3 100644 --- a/app/osparc/job_api.py +++ b/app/osparc/job_api.py @@ -249,7 +249,7 @@ def check_job_status(job_type, job_id): payload = {} if OSPARC_TEST_MODE or job_id == "fake-job-for-testing": - # this is test mode, send back sucessful and mock data + # this is test mode, send back successful and mock data payload = { diff --git a/assets/INPUT_FOLDER/main.m b/assets/INPUT_FOLDER/main.m index cdf49b3..9c4b17b 100644 --- a/assets/INPUT_FOLDER/main.m +++ b/assets/INPUT_FOLDER/main.m @@ -75,7 +75,7 @@ function main(InputDataDirectory) %Create an OS-agnostic path to the Excel file that defines the datasets -ExcelInputFile = fullfile(InputDataDirectory, 'matlab_input.xlsx'); +ExcelInputFile = fulfile(InputDataDirectory, 'matlab_input.xlsx'); %Ensure that InputDataDirectory exists if ~isdir(InputDataDirectory) @@ -86,8 +86,8 @@ function main(InputDataDirectory) errordlg(['The file matlab-input.xlsx does not exist in ' InputDataDirectory],'Missing File'); %Ensure there's a data directory there (don't check to see if the data are there yet) -elseif ~isdir(fullfile(InputDataDirectory,'matlab_data')) - errordlg([fullfile(InputDataDirectory,'matlab_data') ' is not a directory.'],'Invalid Path'); +elseif ~isdir(fulfile(InputDataDirectory,'matlab_data')) + errordlg([fulfile(InputDataDirectory,'matlab_data') ' is not a directory.'],'Invalid Path'); %all good so far, commence with processing else @@ -109,7 +109,7 @@ function main(InputDataDirectory) %Process each data set for TempDataSet=1:size(Sheet1,1) %Load the mat file - MatFile=fullfile(InputDataDirectory,'matlab_data',num2str(Sheet1.datasetId(TempDataSet)), Sheet1.filepath{TempDataSet}); + MatFile=fulfile(InputDataDirectory,'matlab_data',num2str(Sheet1.datasetId(TempDataSet)), Sheet1.filepath{TempDataSet}); TempData=load(MatFile); %Build a table for the variables in this dataset diff --git a/knowmore-notebook/knowmore-notebook.ipynb b/knowmore-notebook/knowmore-notebook.ipynb index 78b031d..0b0e260 100644 --- a/knowmore-notebook/knowmore-notebook.ipynb +++ b/knowmore-notebook/knowmore-notebook.ipynb @@ -483,7 +483,7 @@ { "data": { "text/plain": [ - "Text(0.5, 1.0, '20 Most occuring keywords')" + "Text(0.5, 1.0, '20 Most occurring keywords')" ] }, "execution_count": 19, @@ -511,7 +511,7 @@ "key_words = pd.DataFrame(key_words).set_index(\"Words\")\n", "plot = key_words.plot.barh(color=\"red\")\n", "plot.set_xlabel(\"Count\")\n", - "plot.set_title(\"20 Most occuring keywords\")\n" + "plot.set_title(\"20 Most occurring keywords\")\n" ] }, {