Skip to content

Commit

Permalink
paths template consistent with new cortexlab servers (#224)
Browse files Browse the repository at this point in the history
* single-character change to README.md to test if I still have permission to push to dev (hopefully I don't)

* modified paths_template to be consistent with current cortexlab server settings

* Changes to server name vars in paths template
  • Loading branch information
kevin-j-miller authored and k1o0 committed Dec 18, 2019
1 parent 8f6ce9f commit e19976a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion +dat/constructExpRef.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function ref = constructExpRef(subjectRef, expDate, expSequence)
%DAT.CONSTRUCTEXPREF Constructs an experiment reference string
% ref = DAT.CONSTRUCTEXPREF(subject, dat, seq) constructs and returns a
% ref = DAT.CONSTRUCTEXPREF(subject, date, seq) constructs and returns a
% standard format string reference, for the experiment using the 'subject',
% the 'date' of the experiment (a MATLAB datenum), and the daily sequence
% number of the experiment, 'seq' (must be an integer).
Expand Down
12 changes: 6 additions & 6 deletions docs/setup/paths_template.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
rig = thishost;
end

server1Name = '\\zserver.cortexlab.net';
server2Name = '\\zubjects.cortexlab.net';
server1Name = '\\znas.cortexlab.net';
server2Name = '\\zserver.cortexlab.net';
basketName = '\\basket.cortexlab.net'; % for working analyses
lugaroName = '\\lugaro.cortexlab.net'; % for tape backup

Expand All @@ -31,18 +31,18 @@

% Under the new system of having data grouped by mouse
% rather than data type, all experimental data are saved here.
p.mainRepository = fullfile(server1Name, 'Data', 'Subjects');
p.mainRepository = fullfile(server1Name, 'Subjects');
% Optional alternate named repos may be defined using the repo name
% followed by a number. These are searched in addition to the master repo.
p.main2Repository = fullfile(server2Name, 'Subjects');
p.main2Repository = fullfile(server2Name, 'Data', 'Subjects');

% Directory for organisation-wide configuration files, for now these should
% all remain on zserver
p.globalConfig = fullfile(server1Name, 'Code', 'Rigging', 'config');
p.globalConfig = fullfile(server2Name, 'Code', 'Rigging', 'config');
% Directory for rig-specific configuration files
p.rigConfig = fullfile(p.globalConfig, rig);
% Repository for all experiment definitions
p.expDefinitions = fullfile(server1Name, 'Code', 'Rigging', 'ExpDefinitions');
p.expDefinitions = fullfile(server2Name, 'Code', 'Rigging', 'ExpDefinitions');

%% Non-essential paths
% Database url and local queue for cached posts. If empty or undefined,
Expand Down

0 comments on commit e19976a

Please sign in to comment.