From 0b035558b548815af8a46074a1d67df81868ecf6 Mon Sep 17 00:00:00 2001 From: bparks13 Date: Thu, 12 Sep 2024 14:15:45 -0400 Subject: [PATCH] Move definition to separate file - IsExternalInit is now placed is its own file, since it only needs to be defined once in a namespace for records to work --- OpenEphys.Onix1/IsExternalInit.cs | 4 ++++ OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 OpenEphys.Onix1/IsExternalInit.cs diff --git a/OpenEphys.Onix1/IsExternalInit.cs b/OpenEphys.Onix1/IsExternalInit.cs new file mode 100644 index 0000000..11f062f --- /dev/null +++ b/OpenEphys.Onix1/IsExternalInit.cs @@ -0,0 +1,4 @@ +namespace System.Runtime.CompilerServices +{ + internal static class IsExternalInit { } +} diff --git a/OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs b/OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs index 757898a..7afb95a 100644 --- a/OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs +++ b/OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs @@ -1,9 +1,4 @@ -namespace System.Runtime.CompilerServices -{ - internal static class IsExternalInit { } -} - -namespace OpenEphys.Onix1 +namespace OpenEphys.Onix1 { /// /// A struct to hold the gain correction value and the serial number from a Neuropixels 2.0 gain