From 10fdb2ce6e80d3f75ae174142cf997741c85430f Mon Sep 17 00:00:00 2001 From: Nick Steinmetz Date: Wed, 24 Jul 2019 12:10:44 -0700 Subject: [PATCH 1/2] re-order the constructor so that dat.paths URL is used --- @Alyx/Alyx.m | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/@Alyx/Alyx.m b/@Alyx/Alyx.m index 8839531..128cfa2 100644 --- a/@Alyx/Alyx.m +++ b/@Alyx/Alyx.m @@ -55,16 +55,19 @@ methods function obj = Alyx(user, token) %ALYX Class constructor + + % Set the directory and URL paths + p = dat.paths; + obj.BaseURL = getOr(p, 'databaseURL', obj.BaseURL); + obj.QueueDir = getOr(p, 'localAlyxQueue', obj.QueueDir); + if nargin obj.User = user; obj.Token = token; else obj = obj.login; end - % Set the directory and URL paths - p = dat.paths; - obj.BaseURL = getOr(p, 'databaseURL', obj.BaseURL); - obj.QueueDir = getOr(p, 'localAlyxQueue', obj.QueueDir); + end function obj = logout(obj) From e369d375881a5507d80cc71a2e56e0df2ffb2227 Mon Sep 17 00:00:00 2001 From: k1o0 Date: Thu, 25 Jul 2019 00:16:30 +0300 Subject: [PATCH 2/2] Added changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2547008 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +## [Latest](https://github.com/cortex-lab/matlab-ci/commits/master) [2.0.1] + +### Added + +### Modified + +- Patch fix for class constructor default url used instead of paths \ No newline at end of file