Skip to content

STY: Make private member name consistent with the rest of them #3346

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
Jul 16, 2021
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
6 changes: 3 additions & 3 deletions nipype/algorithms/confounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ComputeDVARS(BaseInterface):

input_spec = ComputeDVARSInputSpec
output_spec = ComputeDVARSOutputSpec
references_ = [
_references = [
{
"entry": BibTeX(
"""\
Expand Down Expand Up @@ -311,7 +311,7 @@ class FramewiseDisplacement(BaseInterface):
input_spec = FramewiseDisplacementInputSpec
output_spec = FramewiseDisplacementOutputSpec

references_ = [
_references = [
{
"entry": BibTeX(
"""\
Expand Down Expand Up @@ -556,7 +556,7 @@ class CompCor(SimpleInterface):

input_spec = CompCorInputSpec
output_spec = CompCorOutputSpec
references_ = [
_references = [
{
"tags": ["method", "implementation"],
"entry": BibTeX(
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/afni/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class AFNICommand(AFNICommandBase):
input_spec = AFNICommandInputSpec
_outputtype = None

references_ = [
_references = [
{
"entry": BibTeX(
"@article{Cox1996,"
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/afni/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ class Edge3(AFNICommand):
_cmd = "3dedge3"
input_spec = Edge3InputSpec
output_spec = AFNICommandOutputSpec
references_ = [
_references = [
{
"entry": BibTeX(
"""\
Expand Down Expand Up @@ -1341,7 +1341,7 @@ class FWHMx(AFNICommandBase):
input_spec = FWHMxInputSpec
output_spec = FWHMxOutputSpec

references_ = [
_references = [
{
"entry": BibTeX(
"@article{CoxReynoldsTaylor2016,"
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/ants/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ class KellyKapowski(ANTSCommand):
input_spec = KellyKapowskiInputSpec
output_spec = KellyKapowskiOutputSpec

references_ = [
_references = [
{
"entry": BibTeX(
"""\
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/base/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class BaseInterface(Interface):
_version = None
_additional_metadata = []
_redirect_x = False
references_ = []
_references = []
resource_monitor = True # Enabled for this interface IFF enabled in the config
_etelemetry_version_data = None

Expand Down Expand Up @@ -343,7 +343,7 @@ def _run_interface(self, runtime):

def _duecredit_cite(self):
"""Add the interface references to the duecredit citations"""
for r in self.references_:
for r in self._references:
r["path"] = self.__module__
due.cite(**r)

Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/base/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def _outputs_help(cls):

def _refs_help(cls):
"""Prints interface references."""
references = getattr(cls, "references_", None)
references = getattr(cls, "_references", None)
if not references:
return []

Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/fsl/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class FSLCommand(CommandLine):
input_spec = FSLCommandInputSpec
_output_type = None

references_ = [
_references = [
{
"entry": BibTeX(
"@article{JenkinsonBeckmannBehrensWoolrichSmith2012,"
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/fsl/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ class FLAMEO(FSLCommand):
input_spec = FLAMEOInputSpec
output_spec = FLAMEOOutputSpec

references_ = [
_references = [
{
"entry": BibTeX(
"@article{BeckmannJenkinsonSmith2003,"
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/petpvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class PETPVC(CommandLine):
output_spec = PETPVCOutputSpec
_cmd = "petpvc"

references_ = [
_references = [
{
"entry": BibTeX(
"@article{0031-9155-61-22-7975,"
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/quickshear.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Quickshear(CommandLine):
input_spec = QuickshearInputSpec
output_spec = QuickshearOutputSpec

references_ = [
_references = [
{
"entry": BibTeX(
"@inproceedings{Schimke2011,"
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/spm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class SPMCommand(BaseInterface):
_paths = None
_use_mcr = None

references_ = [
_references = [
{
"entry": BibTeX(
"@book{FrackowiakFristonFrithDolanMazziotta1997,"
Expand Down