Skip to content
Merged
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
Binary file added RAVEN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed RAVEN2.png
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="./RAVEN2.png" width="200px">
<img src="./RAVEN.png" width="200px">

[![Current release](https://img.shields.io/github/release/SysBioChalmers/RAVEN/all.svg)](https://GitHub.com/SysBioChalmers/RAVEN/releases/)
[![GitHub Discussions](https://img.shields.io/github/discussions-search?query=repo%3Asysbiochalmers%2raven&label=GitHub%20Discussions)](https://github.com/SysBioChalmers/RAVEN/discussions)
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
theme: jekyll-theme-minimal
logo: RAVEN2.png
logo: RAVEN.png
show_downloads: true
keep_files: ["doc/"]
6 changes: 3 additions & 3 deletions installation/findRAVENroot.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function [ravenPath, prevDir] = findRAVENroot()
% findRAVENroot
% Finds the root of the RAVEN directory, first by by searching for the path to
% RAVEN2.png. Can also record the current directory, in case a function will
% RAVEN.png. Can also record the current directory, in case a function will
% use the ravenPath to navigate to a precise folder, and it should return to
% the previous directory afterwards. See e.g. optimizeProb calling glpk.

Expand All @@ -13,14 +13,14 @@
ravenPath = ST(strcmp({ST.name},'findRAVENroot')).file;
rootFound = 0;
while rootFound == 0
isRoot = isfile(fullfile(ravenPath,'RAVEN2.png'));
isRoot = isfile(fullfile(ravenPath,'RAVEN.png'));
if isRoot
rootFound = 1;
else
ravenPathOld = ravenPath;
ravenPath = fileparts(ravenPath);
if strcmp(ravenPathOld,ravenPath)
error('Cannot find the RAVEN root directory. Make sure you have not removed the RAVEN2.png file from your RAVEN installation.')
error('Cannot find the RAVEN root directory. Make sure you have not removed the RAVEN.png file from your RAVEN installation.')
end
end
end
Expand Down