Commit 86a83c16 by James Cammarata

Remove some dead code from the base load_data method

Was causing an odd error which threw off the error detection code
when the datastructure was a string corresponding to a variable.
parent d977dd50
...@@ -154,8 +154,11 @@ class Base: ...@@ -154,8 +154,11 @@ class Base:
else: else:
self._loader = DataLoader() self._loader = DataLoader()
if isinstance(ds, string_types) or isinstance(ds, FileIO): # FIXME: is this required anymore? This doesn't seem to do anything
ds = self._loader.load(ds) # helpful, and was added in very early stages of the base class
# development.
#if isinstance(ds, string_types) or isinstance(ds, FileIO):
# ds = self._loader.load(ds)
# call the preprocess_data() function to massage the data into # call the preprocess_data() function to massage the data into
# something we can more easily parse, and then call the validation # something we can more easily parse, and then call the validation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment