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

Add IO functions #3

Merged
merged 6 commits into from
Jun 15, 2023
Merged

Add IO functions #3

merged 6 commits into from
Jun 15, 2023

Commits on Jun 7, 2023

  1. add useful actions workflows

    - assign reviewers (currently only kaitj and tkkuehn, can add more)
    - bump_version for semantic versioning
    - release to publish to pypi
    - test for linting and unit testing
    kaitj committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    2be3e59 View commit details
    Browse the repository at this point in the history
  2. add io methods and tests

    - add .gitignore and update to ignore test generated files
    - add necessary libraries for working with afids
    - add test task to poe
    - setup type hints for functions
    - create exceptions.py to hold custom exceptions
    - create io.py for handling input/output methods
    - add dummy data (valid fcsv file, small nifti)
      - look into generating images in the future (look at nibabel for
    possible solutions?)
    kaitj committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    c4c207d View commit details
    Browse the repository at this point in the history
  3. add testing to the gha workflow

    - take advantage of commit to fix spacing in PR template
    kaitj committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    15ae81f View commit details
    Browse the repository at this point in the history
  4. add and configure coverage using codecov

    - add step to install package
    - save report as xml file in the workflow runner
    - add gha to post coverage report
    kaitj committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    60e756f View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. mv io.py to parent directory

    kaitj committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    ccdf520 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. wip: Address review comments

    - Renamed AFIDS_FIELDNAMES -> FCSV_FIELDNAMES
    - Update 'id' column fieldname to match slicer header
    - Use `usecols` in read_csv call
    - Change afid_coords from a numpy array to a composite strategy using
    hypothesis.extra.numpy.array
    - rm assignment of get_afid in test_invalid_num_get_afid
    - rm load_nii function and normalization (can use other packages like
    sklearn for this)
    - added fcsv template as static file under resources that can be
    imported rather than called in function
    kaitj committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    8f24bbe View commit details
    Browse the repository at this point in the history