Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit c18c7c6

Browse files
committed
clear leftover matlab example nwb files
1 parent 53cc7f0 commit c18c7c6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test_all/make_curr.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,15 @@ else
117117
echo "Running matlab unittests"
118118
utd="../matlab_bridge/matlab_unittest"
119119
cd $utd
120+
# clear old nwb files from matlab_unittest directory
121+
rm *.nwb
120122
$matlab -nodisplay -nosplash -nodesktop -r "try, run('run_all_tests.m'), catch me, fprintf('%s / %s\n',me.identifier,me.message), end, exit"
121123
cd $cwd
122124

123125
echo "run matlab examples"
126+
# clear output directories for matlab example create scripts
127+
ml_examples_nwb_dir="../matlab_bridge/matlab_examples/created_nwb_files"
128+
clear_dir $ml_examples_nwb_dir
124129
exd="../matlab_bridge/matlab_examples/create_scripts"
125130
cd $exd
126131
$matlab -nodisplay -nosplash -nodesktop -r "try, run('run_all_examples.m'), catch me, fprintf('%s / %s\n',me.identifier,me.message), end, exit"
@@ -148,7 +153,6 @@ else
148153
echo "making signature files for matlab examples"
149154
curr_ml_examples_sig_dir="$curr_ml_examples_dir/h5sig"
150155
mkdir -p $curr_ml_examples_sig_dir
151-
ml_examples_nwb_dir="../matlab_bridge/matlab_examples/created_nwb_files"
152156
python ../examples/utility_scripts/make_h5sig.py $ml_examples_nwb_dir $curr_ml_examples_sig_dir
153157

154158

test_all/orig/dirsig.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jZSWqA check_schemas.txt
2-
jskOgq log.txt
2+
lkLpVy log.txt
33
ckBgPE doc/behavior-e.html
44
nOEUPO doc/closed_interface-e.html
55
ksmjJP doc/core_doc.html
@@ -117,8 +117,6 @@ kPhDpF matlab_bridge/examples/create/crcns_alm_1.txt
117117
iRHZBG matlab_bridge/examples/h5sig/abstract_feature.txt
118118
fZFkPU matlab_bridge/examples/h5sig/analysis_e.txt
119119
bxOqkN matlab_bridge/examples/h5sig/crcns_alm-1/NL_example20140905_ANM219037_20131117.txt
120-
jDEloG matlab_bridge/examples/h5sig/crcns_alm-1/NL_example20140905_ANM219037_20131117_nwb.txt
121-
dYuFcx matlab_bridge/examples/h5sig/crcns_alm-1/NL_example20140905_ANM219037_20131117_orig.txt
122120
lIlkXI matlab_bridge/unittest/unittest_results.txt
123121
DwdBcw matlab_bridge/unittest/h5sig/s_annotation.txt
124122
gzfwbV matlab_bridge/unittest/h5sig/s_append.txt

0 commit comments

Comments
 (0)