Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ A sample output is presented in the figure below.

<br/>
<p align="center">
<img src="https://github.com/SPARC-FAIR-Codeathon/KnowMore/blob/main/docs/knowmore-ouput.PNG" alt="coming-soon..." width="900">
<img src="https://github.com/SPARC-FAIR-Codeathon/KnowMore/blob/main/docs/knowmore-output.PNG" alt="coming-soon..." width="900">
<br/>
<i> Sample output from KnowMore. It consists of interactive text and plots display to the user.</i>
</img>
Expand Down
2 changes: 1 addition & 1 deletion app/osparc/job_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
8 changes: 4 additions & 4 deletions assets/INPUT_FOLDER/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions knowmore-notebook/knowmore-notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
]
},
{
Expand Down