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

Roman Machine - FAIL: test_PhotometryClass_get_data_dir_returns_default (__main__.TestClass) #25

Open
RobFirth opened this issue Oct 24, 2017 · 1 comment
Assignees
Labels

Comments

@RobFirth
Copy link
Owner

Fail on Roman when running test scripts.
Traceback:

======================================================================
ERROR: test_PhotometryClass_get_data_dir_returns_default (__main__.TestClass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/berto/Code/verbose-enigma/pycoco/classes.py", line 564, in set_filter_directory
    if not os.path.isdir(self.filter_directory):
AttributeError: 'PhotometryClass' object has no attribute 'filter_directory'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/berto/Code/verbose-enigma/scripts/test_pycoco.py", line 148, in test_PhotometryClass_get_data_dir_returns_default
    x = pcc.classes.PhotometryClass()
  File "/Users/berto/Code/verbose-enigma/pycoco/classes.py", line 1218, in __init__
    self.set_filter_directory(self._get_filter_directory())
  File "/Users/berto/Code/verbose-enigma/pycoco/classes.py", line 574, in set_filter_directory
    + " you messed with _default_filter_dir_path?")
pycoco.errors.PathError: The default filter directory '/Users/berto/Code/CoCo/data/filters/' doesn't exist. Or isn't a directory. Or can't be located. Have you messed with _default_filter_dir_path?

Some issue with the filter directory?

@RobFirth RobFirth self-assigned this Oct 24, 2017
@RobFirth RobFirth added the bug label Oct 24, 2017
@RobFirth
Copy link
Owner Author

Was setting invalid path in environs - however, this should have defaulted to a valid path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant