Skip to content

Commit 72aac96

Browse files
authored
Merge pull request #3346 from oesteban/maint/references-varname
STY: Make private member name consistent with the rest of them
2 parents 0289137 + 7bf9de3 commit 72aac96

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

nipype/algorithms/confounds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class ComputeDVARS(BaseInterface):
104104

105105
input_spec = ComputeDVARSInputSpec
106106
output_spec = ComputeDVARSOutputSpec
107-
references_ = [
107+
_references = [
108108
{
109109
"entry": BibTeX(
110110
"""\
@@ -311,7 +311,7 @@ class FramewiseDisplacement(BaseInterface):
311311
input_spec = FramewiseDisplacementInputSpec
312312
output_spec = FramewiseDisplacementOutputSpec
313313

314-
references_ = [
314+
_references = [
315315
{
316316
"entry": BibTeX(
317317
"""\
@@ -556,7 +556,7 @@ class CompCor(SimpleInterface):
556556

557557
input_spec = CompCorInputSpec
558558
output_spec = CompCorOutputSpec
559-
references_ = [
559+
_references = [
560560
{
561561
"tags": ["method", "implementation"],
562562
"entry": BibTeX(

nipype/interfaces/afni/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class AFNICommand(AFNICommandBase):
151151
input_spec = AFNICommandInputSpec
152152
_outputtype = None
153153

154-
references_ = [
154+
_references = [
155155
{
156156
"entry": BibTeX(
157157
"@article{Cox1996,"

nipype/interfaces/afni/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ class Edge3(AFNICommand):
10321032
_cmd = "3dedge3"
10331033
input_spec = Edge3InputSpec
10341034
output_spec = AFNICommandOutputSpec
1035-
references_ = [
1035+
_references = [
10361036
{
10371037
"entry": BibTeX(
10381038
"""\
@@ -1341,7 +1341,7 @@ class FWHMx(AFNICommandBase):
13411341
input_spec = FWHMxInputSpec
13421342
output_spec = FWHMxOutputSpec
13431343

1344-
references_ = [
1344+
_references = [
13451345
{
13461346
"entry": BibTeX(
13471347
"@article{CoxReynoldsTaylor2016,"

nipype/interfaces/ants/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ class KellyKapowski(ANTSCommand):
17341734
input_spec = KellyKapowskiInputSpec
17351735
output_spec = KellyKapowskiOutputSpec
17361736

1737-
references_ = [
1737+
_references = [
17381738
{
17391739
"entry": BibTeX(
17401740
"""\

nipype/interfaces/base/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class BaseInterface(Interface):
161161
_version = None
162162
_additional_metadata = []
163163
_redirect_x = False
164-
references_ = []
164+
_references = []
165165
resource_monitor = True # Enabled for this interface IFF enabled in the config
166166
_etelemetry_version_data = None
167167

@@ -343,7 +343,7 @@ def _run_interface(self, runtime):
343343

344344
def _duecredit_cite(self):
345345
"""Add the interface references to the duecredit citations"""
346-
for r in self.references_:
346+
for r in self._references:
347347
r["path"] = self.__module__
348348
due.cite(**r)
349349

nipype/interfaces/base/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def _outputs_help(cls):
322322

323323
def _refs_help(cls):
324324
"""Prints interface references."""
325-
references = getattr(cls, "references_", None)
325+
references = getattr(cls, "_references", None)
326326
if not references:
327327
return []
328328

nipype/interfaces/fsl/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class FSLCommand(CommandLine):
151151
input_spec = FSLCommandInputSpec
152152
_output_type = None
153153

154-
references_ = [
154+
_references = [
155155
{
156156
"entry": BibTeX(
157157
"@article{JenkinsonBeckmannBehrensWoolrichSmith2012,"

nipype/interfaces/fsl/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ class FLAMEO(FSLCommand):
11001100
input_spec = FLAMEOInputSpec
11011101
output_spec = FLAMEOOutputSpec
11021102

1103-
references_ = [
1103+
_references = [
11041104
{
11051105
"entry": BibTeX(
11061106
"@article{BeckmannJenkinsonSmith2003,"

nipype/interfaces/petpvc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class PETPVC(CommandLine):
155155
output_spec = PETPVCOutputSpec
156156
_cmd = "petpvc"
157157

158-
references_ = [
158+
_references = [
159159
{
160160
"entry": BibTeX(
161161
"@article{0031-9155-61-22-7975,"

nipype/interfaces/quickshear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Quickshear(CommandLine):
7575
input_spec = QuickshearInputSpec
7676
output_spec = QuickshearOutputSpec
7777

78-
references_ = [
78+
_references = [
7979
{
8080
"entry": BibTeX(
8181
"@inproceedings{Schimke2011,"

nipype/interfaces/spm/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class SPMCommand(BaseInterface):
290290
_paths = None
291291
_use_mcr = None
292292

293-
references_ = [
293+
_references = [
294294
{
295295
"entry": BibTeX(
296296
"@book{FrackowiakFristonFrithDolanMazziotta1997,"

0 commit comments

Comments
 (0)