mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
Matched click classifier now has template names
The name field of the imported templates is now the file name of the template.
This commit is contained in:
parent
deb2409e56
commit
5195549357
@ -53,7 +53,7 @@ public class ImportTemplateCSV implements TemplateImport {
|
||||
//now create waveform
|
||||
// System.out.println("Create a waveform with " + waveform.length + " samples with a sample rate of "
|
||||
// + sR + " Hz");
|
||||
MatchTemplate matchedTemplate = new MatchTemplate("Imported Waveform", waveform, sR);
|
||||
MatchTemplate matchedTemplate = new MatchTemplate(filePath.getName(), waveform, sR);
|
||||
//TODO
|
||||
return matchedTemplate;
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ public class ImportTemplateMAT implements TemplateImport {
|
||||
//now create waveform
|
||||
// System.out.println("Create a waveform with " + waveform.length + " samples with a sample rate of "
|
||||
// + sR + " Hz");
|
||||
MatchTemplate matchedTemplate = new MatchTemplate("Imported Waveform", waveform, sR);
|
||||
MatchTemplate matchedTemplate = new MatchTemplate(filePath.getName(), waveform, sR);
|
||||
return matchedTemplate;
|
||||
|
||||
} catch (FileNotFoundException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user