diff --git a/pysaliency/external_datasets/mit.py b/pysaliency/external_datasets/mit.py index 229049a..2cef352 100644 --- a/pysaliency/external_datasets/mit.py +++ b/pysaliency/external_datasets/mit.py @@ -113,7 +113,7 @@ def check_size(f): subject_path = os.path.join('DATA', subject) outfile = '{0}_{1}.mat'.format(stimulus, subject) outfile = os.path.join(out_path, outfile) - cmds.append("fprintf('%d/%d\\n', {}, {});".format(n * len(subjects) + subject_id, total_cmd_count)) + cmds.append("fprintf('%d/%d\\r', {}, {});".format(n * len(subjects) + subject_id, total_cmd_count)) cmds.append("extract_fixations('{0}', '{1}', '{2}');".format(stimulus, subject_path, outfile)) print('Running original code to extract fixations. This can take some minutes.') diff --git a/pysaliency/external_datasets/scripts/extract_fixations.m b/pysaliency/external_datasets/scripts/extract_fixations.m index 1498b90..6f988ff 100644 --- a/pysaliency/external_datasets/scripts/extract_fixations.m +++ b/pysaliency/external_datasets/scripts/extract_fixations.m @@ -1,5 +1,5 @@ function [ ] = extract_fixations(filename, datafolder, outname) - fprintf('Loading %s %s\n', datafolder, filename); + % fprintf('Loading %s %s\n', datafolder, filename); addpath('DatabaseCode') datafile = strcat(filename(1:end-4), 'mat'); load(fullfile(datafolder, datafile));