Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bmajoros/python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Duke-GCB/majoros-python-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on May 15, 2024

  1. Adds setup.py configuration for installation via pip etc

    This enables including the modules in this repository to be easily
    included in conda environment specifications or to be installed in
    a virtual environment via `pip install .`, or by installing from
    the Git repository.
    
    In this version it enumerates as modules to be installed all .py
    files starting with a capital letter. Scripts etc in all-lowercase
    files are therefore not installed, but this could be added where
    useful. Also, it is probably better then to create a proper package
    structure.
    hlapp committed May 15, 2024
    Configuration menu
    Copy the full SHA
    dc35262 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Adds lookupListOrDie() as a variant of lookupList()

    This is being called by NeuralConfig.py in BlueSTARR,
    hlapp committed May 24, 2024
    Configuration menu
    Copy the full SHA
    bfe3a0f View commit details
    Browse the repository at this point in the history
  2. Uses re.split() to allow optional whitespace

    Apparently NeuralConfig in BlueSTARR relies on this.
    hlapp committed May 24, 2024
    Configuration menu
    Copy the full SHA
    51b45eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e57d61 View commit details
    Browse the repository at this point in the history
  4. Fixes KeyError if key not in dictionary

    Brings the code in line with what the method names suggest. (Otherwise
    dict[key] will already die with a KeyError if the key is not in the
    dictionary.)
    
    Also makes the formatted error strings work.
    hlapp committed May 24, 2024
    Configuration menu
    Copy the full SHA
    5e0378a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26424a1 View commit details
    Browse the repository at this point in the history
Loading