-
Notifications
You must be signed in to change notification settings - Fork 4
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
refactor to separate EFS from parser #7
Conversation
The following errors are fixed FAILED tests/test_measurements.py::test_bigwig_measurement - TypeError: get_data() missing 1 required positional argument: ‘bins’ FAILED tests/test_measurements.py::test_bigbed_measurement - TypeError: get_data() missing 1 required positional argument: ‘bins’
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The requirement for efs_parser
should be stated on setup.cfg
not in the requirements.txt
file, check with Jay if efs_parser
is already in pypi
I checked with Jay and it is not in pypi |
@hanyelgaml-roche couple of things
|
Also, use setup.cfg for specifying epivizFileParser as a dependancy
@hanyelgaml-roche tests need to be written for the handler (dask part) to make sure its not failing because of this change. you have written tests here and they can be brought over - epiviz/efs_distributed#1 |
@hanyelgaml-roche did you run tests here ?
|
Of Couese
|
if you change these lines in the tests to
to how the parser is imported
everything fails. So the imports need to be consistent between the tests and its usage in the package |
Hi @jkanche , For this to work:
the parser package needs to export those classes, which it currently does not. I suggested to Hany that he should modify https://github.com/epiviz/epivizFileParser/blob/main/src/epivizFileParser/__init__.py to include, e.g.,
for all the classes we want to expose. |
I have fixed that on epivizFileParser |
Thanks @hanyelgaml-roche this is now merged with master |
Make current package epivizFileServer depend on epivizFileParser