Skip to content

Commit 4b87cbc

Browse files
authored
Merge pull request #14 from open-ephys/minor-updates
Bump version to 0.1.1
2 parents 4f90c29 + cd3fc69 commit 4b87cbc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1313
<UseArtifactsOutput>true</UseArtifactsOutput>
1414
<PackageIcon>icon.png</PackageIcon>
15-
<VersionPrefix>0.1.0</VersionPrefix>
15+
<VersionPrefix>0.1.1</VersionPrefix>
1616
<VersionSuffix></VersionSuffix>
1717
<LangVersion>10.0</LangVersion>
1818
<Features>strict</Features>

Diff for: OpenEphys.ProbeInterface.NET/Probe.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Probe
1313
/// </summary>
1414
[XmlIgnore]
1515
[JsonProperty("ndim", Required = Required.Always)]
16-
public ProbeNdim NumDimensions { get; protected set; }
16+
public ProbeNdim NumDimensions { get; protected set; }
1717

1818
/// <summary>
1919
/// Gets the <see cref="ProbeSiUnits"/> to use while plotting the <see cref="Probe"/>.
@@ -149,7 +149,7 @@ public Probe(ProbeNdim ndim, ProbeSiUnits si_units, ProbeAnnotations annotations
149149
/// Copy constructor given an existing <see cref="Probe"/> object.
150150
/// </summary>
151151
/// <param name="probe">Existing <see cref="Probe"/> object to be copied.</param>
152-
protected Probe(Probe probe)
152+
public Probe(Probe probe)
153153
{
154154
NumDimensions = probe.NumDimensions;
155155
SiUnits = probe.SiUnits;
@@ -324,6 +324,7 @@ public Contact GetContact(int index)
324324
/// <summary>
325325
/// Gets the number of contacts within this <see cref="Probe"/>.
326326
/// </summary>
327+
[JsonIgnore]
327328
public int NumberOfContacts => ContactPositions.Length;
328329
}
329330
}

Diff for: OpenEphys.ProbeInterface.NET/ProbeGroup.cs

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ protected ProbeGroup(ProbeGroup probeGroup)
7575
/// <summary>
7676
/// Gets the number of contacts across all <see cref="Probe"/> objects.
7777
/// </summary>
78+
[JsonIgnore]
7879
public int NumberOfContacts => Probes.Aggregate(0, (total, next) => total + next.NumberOfContacts);
7980

8081
/// <summary>

0 commit comments

Comments
 (0)