Skip to content
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

Remove unused _ancestry class variable #707

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 0 additions & 2 deletions src/pynwb/behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class SpatialSeries(TimeSeries):

__nwbfields__ = ('reference_frame',)

_ancestry = "TimeSeries,SpatialSeries"

_help = "Stores points in space over time. The data[] array structure is [num samples][num spatial dimensions]"

@docval({'name': 'name', 'type': str, 'doc': 'The name of this SpatialSeries dataset'},
Expand Down
2 changes: 0 additions & 2 deletions src/pynwb/ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class ElectricalSeries(TimeSeries):
__nwbfields__ = ({'name': 'electrodes', 'required_name': 'electrodes',
'doc': 'the electrodes that generated this electrical series', 'child': True},)

__ancestry = "TimeSeries,ElectricalSeries"
__help = "Stores acquired voltage data from extracellular recordings."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -109,7 +108,6 @@ class SpikeEventSeries(ElectricalSeries):

__nwbfields__ = ()

__ancestry = "TimeSeries,ElectricalSeries,SpikeSeries"
__help = "Snapshots of spike events from data."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down
6 changes: 0 additions & 6 deletions src/pynwb/icephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class PatchClampSeries(TimeSeries):
'gain',
'stimulus_description')

_ancestry = "TimeSeries,PatchClampSeries"
_help = "Superclass definition for patch-clamp data."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -119,7 +118,6 @@ class CurrentClampSeries(PatchClampSeries):
'bridge_balance',
'capacitance_compensation')

_ancestry = "TimeSeries,PatchClampSeries,CurrentClampSeries"
_help = "Voltage recorded from cell during current-clamprecording."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -182,7 +180,6 @@ class IZeroClampSeries(CurrentClampSeries):

__nwbfields__ = ()

_ancestry = "TimeSeries,PatchClampSeries,CurrentClampSeries,IZeroClampSeries"
_help = "Voltage from intracellular recordings when all current and amplifier settings are off,"

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -236,7 +233,6 @@ class CurrentClampStimulusSeries(PatchClampSeries):

__nwbfields__ = ()

_ancestry = "TimeSeries,PatchClampSeries,CurrentClampStimulusSeries"
_help = "Stimulus current applied during current clamp recording."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -292,7 +288,6 @@ class VoltageClampSeries(PatchClampSeries):
'whole_cell_capacitance_comp',
'whole_cell_series_resistance_comp')

_ancestry = "TimeSeries,PatchClampSeries,VoltageClampSeries"
_help = "Current recorded from cell during voltage-clamp recording"

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -359,7 +354,6 @@ class VoltageClampStimulusSeries(PatchClampSeries):

__nwbfields__ = ()

_ancestry = "TimeSeries,PatchClampSeries,VoltageClampStimulusSeries"
_help = "Stimulus voltage applied during voltage clamp recording."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down
4 changes: 0 additions & 4 deletions src/pynwb/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class ImageSeries(TimeSeries):
'starting_frame',
'format')

_ancestry = "TimeSeries,ImageSeries"
_help = "Storage object for time-series 2-D image data"

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -85,7 +84,6 @@ class IndexSeries(TimeSeries):

__nwbfields__ = ('indexed_timeseries',)

_ancestry = "TimeSeries,IndexSeries"
_help = "A sequence that is generated from an existing image stack. Frames can be presented in \
an arbitrary order. The data[] field stores frame number in reference stack."

Expand Down Expand Up @@ -133,7 +131,6 @@ class ImageMaskSeries(ImageSeries):

__nwbfields__ = ('masked_imageseries',)

_ancestry = "TimeSeries,ImageSeries,ImageMaskSeries"
_help = "An alpha mask that is applied to a presented visual stimulus."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -197,7 +194,6 @@ class OpticalSeries(ImageSeries):
'field_of_view',
'orientation')

_ancestry = "TimeSeries,ImageSeries,OpticalSeries"
_help = "Time-series image stack for optical recording or stimulus."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down
3 changes: 0 additions & 3 deletions src/pynwb/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class AnnotationSeries(TimeSeries):

__nwbfields__ = ()

_ancestry = "TimeSeries,AnnotationSeries"
_help = "Time-stamped annotations about an experiment."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -66,7 +65,6 @@ class AbstractFeatureSeries(TimeSeries):
__nwbfields__ = ('feature_units',
'features')

_ancestry = "TimeSeries,AbstractFeatureSeries"
_help = "Features of an applied stimulus. This is useful when storing the raw stimulus is impractical."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -124,7 +122,6 @@ class IntervalSeries(TimeSeries):

__nwbfields__ = ()

_ancestry = "TimeSeries,IntervalSeries"
_help = "Stores the start and stop times for events."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down
1 change: 0 additions & 1 deletion src/pynwb/ogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class OptogeneticSeries(TimeSeries):

__nwbfields__ = ('site',)

_ancestry = "TimeSeries,OptogeneticSeries"
_help = "Optogenetic stimulus."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down
2 changes: 0 additions & 2 deletions src/pynwb/ophys.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ class TwoPhotonSeries(ImageSeries):
'pmt_gain',
'scan_line_rate')

_ancestry = "TimeSeries,ImageSeries,TwoPhotonSeries"
_help = "Image stack recorded from 2-photon microscope."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down Expand Up @@ -306,7 +305,6 @@ class RoiResponseSeries(TimeSeries):

__nwbfields__ = ({'name': 'rois', 'child': True},)

_ancestry = "TimeSeries,ImageSeries,ImageMaskSeries"
_help = "ROI responses over an imaging plane. Each row in data[] should correspond to the signal from one no ROI."

@docval({'name': 'name', 'type': str, 'doc': 'The name of this TimeSeries dataset'},
Expand Down