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

Apply Python script formatting #401

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Apply Python script formatting #401

merged 5 commits into from
Jan 11, 2024

Conversation

sophie22
Copy link
Collaborator

@sophie22 sophie22 commented Jan 4, 2024

No description provided.

@sophie22 sophie22 linked an issue Jan 4, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jan 4, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
hazenlib
   ACRObject.py1071190%87, 90–92, 97–100, 138, 190–193
   HazenTask.py28389%43–47
   __init__.py561573%173, 205–214, 216–225, 227–229, 246–250, 254
   exceptions.py21576%19–23, 42
   utils.py1894377%72, 76, 86, 91, 130, 137–150, 161, 168–175, 195–197, 215–219, 238–242, 251, 256, 267, 319, 322, 330–335, 338, 385, 394, 409
hazenlib/tasks
   acr_geometric_accuracy.py1196248%42–89, 99–145, 158–227
   acr_ghosting.py1074261%34–50, 85–87, 139–141, 191–273
   acr_slice_position.py1364865%47–70, 253–320
   acr_slice_thickness.py1366056%35–54, 190–274
   acr_snr.py1345857%42, 47–98, 108, 193–208, 252–270, 318–343
   acr_spatial_resolution.py2066867%58–89, 148, 205, 222–233, 331–410
   acr_uniformity.py813260%36–53, 119–171
   ghosting.py1515166%18–37, 52, 135–136, 143, 160–161, 197–201, 216–220, 273–314
   relaxometry.py2908969%210–211, 213, 226–231, 238–246, 277–326, 375, 409–431, 609, 655–659, 726, 811–833, 851–866
   slice_position.py1244068%25, 30–58, 110–111, 138, 234, 244–267
   slice_width.py3495285%34–38, 42, 108, 182–207, 508, 513–514, 520, 525, 597–598, 978–1042
   snr.py1757159%40–43, 70, 87–97, 199–219, 234–244, 273–288, 317–327, 332–348, 391–407, 412–420, 466–484
   snr_map.py107199%155
   spatial_resolution.py2484482%40–44, 48, 76, 162, 230, 371–414
   uniformity.py791976%48–52, 56, 98–99, 106, 146–176
TOTAL286881472% 

Tests Skipped Failures Errors Time
201 0 💤 0 ❌ 0 🔥 2m 18s ⏱️

@sophie22 sophie22 requested a review from tomaroberts January 4, 2024 18:40
@sophie22
Copy link
Collaborator Author

sophie22 commented Jan 4, 2024

No content change, this PR is purely around the formatting of Python scripts within hazenlib and the unit tests.
GitHub automated tests are passing both before and after reformatting the test scripts (having reformatting the task scripts).

Ready for review @tomaroberts

Copy link
Collaborator

@tomaroberts tomaroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passing locally on my machine and CLI running.

@tomaroberts tomaroberts merged commit f70e2be into main Jan 11, 2024
4 checks passed
@tomaroberts tomaroberts deleted the 400-blacks-formatting branch January 11, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply PEP8 formatting on all scripts
2 participants