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

test_crispr.py only works in certain environments #231

Open
tcmitchell opened this issue May 11, 2020 · 0 comments
Open

test_crispr.py only works in certain environments #231

tcmitchell opened this issue May 11, 2020 · 0 comments
Milestone

Comments

@tcmitchell
Copy link
Collaborator

test_crispr.py can fail if an older version of sbol2 is installed in the python interpreter. The way CRISPR_example.py is executed it runs in the python interpreter in a temporary directory. This means it doesn't have access to the module through the sbol2 directory in the current working directory.

When run with a virtual environment that has sbol2 installed in development mode (pip install -e .) everything will be fine. And on Travis it works because the current module is being installed in a clean environment.

This may not be much of a problem going forward, once we reach some stability. But it may be a problem for some developers depending on how their development environment is set up.

@tcmitchell tcmitchell added this to the Future Tasks milestone May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant