Skip to content

Bump version to 0.1.1 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<UseArtifactsOutput>true</UseArtifactsOutput>
<PackageIcon>icon.png</PackageIcon>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionPrefix>0.1.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<LangVersion>10.0</LangVersion>
<Features>strict</Features>
Expand Down
5 changes: 3 additions & 2 deletions OpenEphys.ProbeInterface.NET/Probe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Probe
/// </summary>
[XmlIgnore]
[JsonProperty("ndim", Required = Required.Always)]
public ProbeNdim NumDimensions { get; protected set; }
public ProbeNdim NumDimensions { get; protected set; }

/// <summary>
/// Gets the <see cref="ProbeSiUnits"/> to use while plotting the <see cref="Probe"/>.
Expand Down Expand Up @@ -149,7 +149,7 @@ public Probe(ProbeNdim ndim, ProbeSiUnits si_units, ProbeAnnotations annotations
/// Copy constructor given an existing <see cref="Probe"/> object.
/// </summary>
/// <param name="probe">Existing <see cref="Probe"/> object to be copied.</param>
protected Probe(Probe probe)
public Probe(Probe probe)
{
NumDimensions = probe.NumDimensions;
SiUnits = probe.SiUnits;
Expand Down Expand Up @@ -324,6 +324,7 @@ public Contact GetContact(int index)
/// <summary>
/// Gets the number of contacts within this <see cref="Probe"/>.
/// </summary>
[JsonIgnore]
public int NumberOfContacts => ContactPositions.Length;
}
}
1 change: 1 addition & 0 deletions OpenEphys.ProbeInterface.NET/ProbeGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected ProbeGroup(ProbeGroup probeGroup)
/// <summary>
/// Gets the number of contacts across all <see cref="Probe"/> objects.
/// </summary>
[JsonIgnore]
public int NumberOfContacts => Probes.Aggregate(0, (total, next) => total + next.NumberOfContacts);

/// <summary>
Expand Down