sonjaleo / KinFragLib

Kinase-focused fragment library
MIT License
1 stars 0 forks source link

Custom base #2

Closed sonjaleo closed 1 year ago

sonjaleo commented 3 years ago

Description

Basis PR to fork from for additional programming. Will be merged to master after finishing.

Todos

Questions

Status

dominiquesydow commented 3 years 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.

sonjaleo commented 3 years 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 @dominiquesydow,

yes I would love to do this together :) If you want we can do this before the workshop I have today at 4pm

dominiquesydow commented 3 years ago

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:

  1. Update 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 branch
  2. For the time being add a pip 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
dominiquesydow commented 3 years ago

Yaaaaay, passing CI!!!! :tada:

dominiquesydow commented 3 years ago

Open questions on CI fail:

dominiquesydow commented 3 years ago

@NonaR, the CI runs now on your notebooks (in notebooks/custom_kinfraglib) only; hope this will make your workflow faster and less error prone.

review-notebook-app[bot] commented 3 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

AndreaVolkamer commented 2 years ago

@sonjaleo I reviewed the 1_3 nb. Looks very good, I mainly commented on adding some more info here and there.

Update:

Todo: