Closed sonjaleo closed 1 year ago
Hi @NonaR, I had a quick look at parts of your code and it looks really nice :)
If you are interested, we could have a call where we set up together some formatting (black
) and linting (pylint
or flake8
) functionalities which help you to standardize code formatting and detect PEP8 violations automatically.
You could start playing around with
conda install black pylint
black -l 99 kinfraglib
pylint kinfraglib
# while you are in the local verison of this repo path: https://github.com/NonaR/KinFragLib
or you wait for the call to do this together.
Hi @NonaR, I had a quick look at parts of your code and it looks really nice :)
If you are interested, we could have a call where we set up together some formatting (
black
) and linting (pylint
orflake8
) functionalities which help you to standardize code formatting and detect PEP8 violations automatically.You could start playing around with
conda install black pylint black -l 99 kinfraglib pylint kinfraglib # while you are in the local verison of this repo path: https://github.com/NonaR/KinFragLib
or you wait for the call to do this together.
Hi @dominiquesydow,
yes I would love to do this together :) If you want we can do this before the workshop I have today at 4pm
CI fails because it cannot find kinfraglib.filters
because we currently install from kinfraglib
from https://github.com/volkamerlab/kinfraglib/archive/master.tar.gz see here
Two options to fix this:
environment.yaml
with current branch: https://github.com/nonaR/kinfraglib/archive/custom-base.tar.gz - but that would mean we need to do this for every new branchpip install -e kinfraglib
before running the CI tests
- name: Run tests
shell: bash -l {0}
run: |
pip install -e kinfraglib
PYTEST_ARGS="--nbval-lax --current-env --nbval-cell-timeout=900"
pytest $PYTEST_ARGS
Yaaaaay, passing CI!!!! :tada:
@NonaR, the CI runs now on your notebooks (in notebooks/custom_kinfraglib
) only; hope this will make your workflow faster and less error prone.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@sonjaleo I reviewed the 1_3 nb. Looks very good, I mainly commented on adding some more info here and there.
Update:
Todo:
Description
Basis PR to fork from for additional programming. Will be merged to master after finishing.
Todos
volkamerlab/kinfraglib
https://github.com/NonaR/KinFragLib/issues/6Questions
Status