-
Notifications
You must be signed in to change notification settings - Fork 0
Restructuring #8
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b8a76cc
chore: update metadata in the project TOML
sr-murthy 15018cb
ci: rename test workflow to `test.yml`
sr-murthy 36a2261
ci: tidy up the pre-commit and test workflows
sr-murthy 60412c0
ci: add build workflow for building of local package artifacts and a …
sr-murthy ace567d
chore(deps): refresh pylock TOML
sr-murthy b72a788
ci: set minimal runner timeouts on all jobs + remove exact version pi…
sr-murthy 33ca87d
ci: simplify build workflow - use PyPA `build` instead of PDM
sr-murthy 5792950
ci: increase job timeouts
sr-murthy d83bff1
chore: rename the core libs + update refs in tests
sr-murthy 3a5b1cb
chore: bump version to `0.2.0`
sr-murthy 71d3719
chore: type hinting, docstrings, and tidying up in `visualisation`
sr-murthy 0c36135
test: unit tests for most `visualisation` functions, and a few functi…
sr-murthy ff3df66
docs: add RTD YML + `docs/requirements.txt`
sr-murthy 03b1ba8
style: docstrings and type hinting for core libs
sr-murthy fd9c300
docs: initial version of Sphinx docs with complete API reference
sr-murthy ee68afe
Refresh RTD PR build
sr-murthy be22f38
docs: add some more stuff to index RST
sr-murthy 5f343e9
docs: enable light mode and turn off dark mode
sr-murthy 78ba1c0
lint
sr-murthy 3d78b72
test: update conversion table
sr-murthy 22d21a4
chore: switch license to MIT and add citation file
sr-murthy a3cf371
ci: tidy up workflow chaining for test and build workflows
sr-murthy c02929a
docs: remove static `docs/requirements.txt` + enable docs deps instal…
sr-murthy e867ce6
chore: add PyPI classifiers to project TOML
sr-murthy a494f38
linting fix
sr-murthy af9cad3
docs: add placeholder pages for analytics and REDCap data extraction …
sr-murthy c96fdf1
docs: fix Intersphinx problem with the Plotly docs domain + docstring…
sr-murthy 802c753
ci: remove workflow chaining due to lack of full GitHub support on PRs
sr-murthy 25dd019
chore: remove pylock TOML
sr-murthy 2af87e7
test: a small fix in `redcap_data` tests
sr-murthy 5b22f26
chore: fix test workflow badge in README
sr-murthy 7ac5ed8
docs: a few more improvements for the conf and index page
sr-murthy 8b6faf7
docs: tidy up conf
sr-murthy 8c4ca0c
chore: update README
sr-murthy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: build | ||
|
|
||
| on: | ||
| push: | ||
| branches: main | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
|
|
||
| steps: | ||
| - run: | | ||
| echo "github.event_name=${{ github.event_name }}" | ||
| echo "github.event.workflow_run.conclusion=${{ github.event.workflow_run.conclusion }}" | ||
| - name: Checkout repository | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | ||
|
|
||
| - name: Install build dependencies | ||
| run: | | ||
| pip install -U pip build | ||
|
|
||
| - name: Build package artifacts and install wheel | ||
| run: | | ||
| python -m build | ||
| pip install dist/isaricanalytics*.whl | ||
|
|
||
| - name: Test wheel import | ||
| run: | | ||
| python -c "import isaricanalytics; print(isaricanalytics.__version__)" | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment on lines
+10
to
+31
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: Tests and Coverage | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| unit-test: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
|
|
||
| steps: | ||
| - run: | | ||
| echo "github.event_name=${{ github.event_name }}" | ||
| echo "github.event.workflow_run.conclusion=${{ github.event.workflow_run.conclusion }}" | ||
| - name: Checkout repository | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | ||
| with: | ||
| python-version: "3.11" | ||
|
|
||
| - name: Install project and unit test dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -e ".[test]" | ||
|
|
||
| - name: Run pytest with coverage | ||
| env: | ||
| PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1" | ||
| run: | | ||
| python -m pytest \ | ||
| --code-highlight=yes \ | ||
| --color=yes \ | ||
| --verbosity=3 \ | ||
| -p pytest_cov \ | ||
| --cov=isaricanalytics \ | ||
| --cov-report=term-missing \ | ||
| --cov-report=xml \ | ||
| --cov-report=html | ||
|
|
||
| - name: Upload coverage.xml artifact | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f | ||
| with: | ||
| name: coverage-xml | ||
| path: coverage.xml | ||
| if-no-files-found: error | ||
|
|
||
| - name: Upload coverage report to Codecov (best effort) | ||
| continue-on-error: true | ||
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 | ||
| with: | ||
| files: ./coverage.xml | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| fail_ci_if_error: false | ||
| verbose: true | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium test
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment on lines
+11
to
+59
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| cff-version: 1.2.0 | ||
| title: IsaricAnalytics | ||
| message: Data analysis toolkit to support fast analysis of clinical data during emerging infectious disease outbreaks. | ||
| type: software | ||
| authors: | ||
| - name-particle: Tom | ||
| family-names: Edinburgh | ||
| email: tom.edinburgh@ndm.ox.ac.uk | ||
| orcid: 0000-0002-3599-7133 | ||
| - name-particle: Esteban | ||
| family-names: Garcia-Gallo | ||
| email: esteban.garcia@ndm.ox.ac.uk | ||
| orcid: 0000-0002-8030-9985 | ||
| - name-particle: Igor | ||
| family-names: Peres | ||
| email: igor.peres@puc-rio.br | ||
| orcid: | ||
| - name-particle: Tomoe | ||
| family-names: Gusberti | ||
| email: tomoegusberti@gmail.com | ||
| orcid: | ||
| - name-particle: Luiz | ||
| family-names: Raffaini | ||
| email: lemraffaini@gmail.com | ||
| orcid: | ||
| repository-code: 'https://github.com/ISARICResearch/IsaricAnalytics' | ||
| url: 'https://github.com/ISARICResearch/IsaricAnalytics' | ||
| abstract: Data analysis toolkit to support fast analysis of clinical data during emerging infectious disease outbreaks. | ||
| keywords: | ||
| - isaric | ||
| - infectious disease | ||
| - pandemic | ||
| - disease outbreak | ||
| - clinical epidemiology | ||
| - disease outbreak response | ||
| - data analysis | ||
| - data analytics | ||
| license: MIT | ||
| version: 0.2.0 | ||
| date-released: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .theme-toggle-container { | ||
| display: none; | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.