Skip to content

Commit

Permalink
Merge branch 'release/3.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
zigaroula committed Jan 26, 2022
2 parents ba554e6 + a1bd8ab commit ed9e3bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Binary file modified Assets/Plugins/x86_64/Linux/libhbp_math.so
Binary file not shown.
Binary file not shown.
Binary file modified Assets/Plugins/x86_64/Windows/hbp_math.dll
Binary file not shown.
6 changes: 5 additions & 1 deletion Assets/Scripts/HBP/Data/Dataset/Dataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,11 @@ string GetDownsamplingString(DirectoryInfo dir)
Protocol.Protocol protocol = ApplicationState.ProjectLoaded.Protocols.FirstOrDefault(p => p.Name == splits[3]);
if (protocol != null)
{
datasetByProtocol[protocol].AddData(new IEEGDataInfo("raw", new Container.Elan(Path.Combine(subdir.FullName, subdir.Name + ".eeg"), Path.Combine(subdir.FullName, subdir.Name + ".pos"), ""), patient, IEEGDataInfo.NormalizationType.Auto));
FileInfo rawEEG = new FileInfo(Path.Combine(subdir.FullName, subdir.Name + ".eeg"));
FileInfo rawPos = new FileInfo(Path.Combine(subdir.FullName, subdir.Name + ".pos"));
if (rawEEG.Exists && rawPos.Exists)
datasetByProtocol[protocol].AddData(new IEEGDataInfo("raw", new Container.Elan(rawEEG.FullName, rawPos.FullName, ""), patient, IEEGDataInfo.NormalizationType.Auto));

string ds = GetDownsamplingString(subdir);
if (!string.IsNullOrEmpty(ds))
{
Expand Down
Binary file modified ProjectSettings/ProjectSettings.asset
Binary file not shown.

0 comments on commit ed9e3bc

Please sign in to comment.