Skip to content

Commit 860d972

Browse files
kevin-j-millerk1o0
authored andcommitted
paths template consistent with new cortexlab servers (#224)
* 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
1 parent 4ade1fb commit 860d972

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

+dat/constructExpRef.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function ref = constructExpRef(subjectRef, expDate, expSequence)
22
%DAT.CONSTRUCTEXPREF Constructs an experiment reference string
3-
% ref = DAT.CONSTRUCTEXPREF(subject, dat, seq) constructs and returns a
3+
% ref = DAT.CONSTRUCTEXPREF(subject, date, seq) constructs and returns a
44
% standard format string reference, for the experiment using the 'subject',
55
% the 'date' of the experiment (a MATLAB datenum), and the daily sequence
66
% number of the experiment, 'seq' (must be an integer).

docs/setup/paths_template.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
rig = thishost;
1919
end
2020

21-
server1Name = '\\zserver.cortexlab.net';
22-
server2Name = '\\zubjects.cortexlab.net';
21+
server1Name = '\\znas.cortexlab.net';
22+
server2Name = '\\zserver.cortexlab.net';
2323
basketName = '\\basket.cortexlab.net'; % for working analyses
2424
lugaroName = '\\lugaro.cortexlab.net'; % for tape backup
2525

@@ -31,18 +31,18 @@
3131

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

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

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

0 commit comments

Comments
 (0)