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

testRaw.py: Skip test if TESTDATA_DECAM_DIR not found #3

Merged
merged 1 commit into from Sep 17, 2015

Conversation

timj
Copy link
Member

@timj timj commented Sep 16, 2015

No description provided.

datadir = os.getenv("TESTDATA_DECAM_DIR")
assert datadir, "testdata_decam is not setup"
try:
datadir = lsst.utils.getPackageDir("TESTDATA_DECAM_DIR")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _DIR should not be included. Does it work like this? I think it should be something like

datadir = lsst.utils.getPackageDir("testdata_decam")

@yalsayyad yalsayyad merged commit f6f3bbf into master Sep 17, 2015
@ktlim ktlim deleted the tickets/DM-3868 branch August 25, 2018 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants