summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
authorJakob Jorgensen <jakob.jorgensen@manchester.ac.uk>2018-04-27 09:38:32 +0100
committerJakob Jorgensen <jakob.jorgensen@manchester.ac.uk>2018-04-27 09:38:32 +0100
commitb122aec2830c95106a187ec44f94e88bf223fee6 (patch)
tree593ad971c16d1f34462d8f5b942a65c56d2daf63 /Wrappers
parent763df4aebb737e7aecaabcf67320de2cb298c153 (diff)
downloadframework-b122aec2830c95106a187ec44f94e88bf223fee6.tar.gz
framework-b122aec2830c95106a187ec44f94e88bf223fee6.tar.bz2
framework-b122aec2830c95106a187ec44f94e88bf223fee6.tar.xz
framework-b122aec2830c95106a187ec44f94e88bf223fee6.zip
fix camel case inputs
Diffstat (limited to 'Wrappers')
-rw-r--r--Wrappers/Python/ccpi/io/reader.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Wrappers/Python/ccpi/io/reader.py b/Wrappers/Python/ccpi/io/reader.py
index 448971f..b0b5414 100644
--- a/Wrappers/Python/ccpi/io/reader.py
+++ b/Wrappers/Python/ccpi/io/reader.py
@@ -44,7 +44,7 @@ class NexusReader(object):
Reader class for loading Nexus files.
'''
- def __init__(self, nexusFilename=None):
+ def __init__(self, nexus_filename=None):
'''
This takes in input as filename and loads the data dataset.
'''
@@ -52,7 +52,7 @@ class NexusReader(object):
self.dark = None
self.angles = None
self.geometry = None
- self.filename = nexusFilename
+ self.filename = nexus_filename
def load(self, dimensions=None, image_key_id=0):
'''
@@ -185,14 +185,14 @@ class XTEKReader(object):
Reader class for loading XTEK files
'''
- def __init__(self, xtekConfigFilename=None):
+ def __init__(self, xtek_config_filename=None):
'''
This takes in the xtek config filename and loads the dataset and the
required geometry parameters
'''
self.projections = None
self.geometry = {}
- self.filename = xtekConfigFilename
+ self.filename = xtek_config_filename
self.load()
def load(self):