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

refactor(frontend) align data upload dosing with Trial Design #639

Merged
merged 5 commits into from
Jan 20, 2025

Conversation

eatyourgreens
Copy link
Collaborator

@eatyourgreens eatyourgreens commented Jan 17, 2025

When uploading data without any dosing rows, use the project dosing protocols to determine the default dosing compartments. Previously, an uploaded subject group could only be mapped to a single dosing compartment, even if the model allowed for both IV and SC dosing. With the changes here, subject groups can be dosed from each compartment linked to the model (when an uploaded CSV doesn't have any dosing rows.)

Alter the dosing check in the sidebar so that it only flags up a group if none of that group's protocols have a dose set, rather than checking if any doses are 0.

When uploading data without any dosing rows, use the project dosing protocols to determine the default dosing compartments. Previously, an uploaded subject group could only be mapped to a single dosing compartment, even if the model allowed for both IV and SC dosing
@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch from 1929b39 to 1cd29df Compare January 17, 2025 17:20
@eatyourgreens eatyourgreens changed the title Refactor-new-admin-ids refactor(frontend) align data upload dosing with Trial Design Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.70%. Comparing base (112f27e) to head (9923a6a).
Report is 24 commits behind head on ui-enhancements.

Additional details and impacted files
@@               Coverage Diff                @@
##           ui-enhancements     #639   +/-   ##
================================================
  Coverage            76.70%   76.70%           
================================================
  Files                  117      117           
  Lines                 5705     5705           
================================================
  Hits                  4376     4376           
  Misses                1329     1329           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch from 9ceff37 to 88b1bf0 Compare January 17, 2025 18:04
@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch 2 times, most recently from 677401f to cdd7480 Compare January 17, 2025 21:24
@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch 5 times, most recently from 0eb9db6 to 9ce9a10 Compare January 18, 2025 15:07
@eatyourgreens eatyourgreens marked this pull request as ready for review January 18, 2025 15:16
@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch 2 times, most recently from 0897c75 to d0abca0 Compare January 20, 2025 11:38
@eatyourgreens eatyourgreens force-pushed the refactor-new-admin-ids branch from d0abca0 to 9923a6a Compare January 20, 2025 11:55
Copy link

Copy link

Quality Gate Failed Quality Gate failed for 'pkpdapp-team_pkpdapp_frontend'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@eatyourgreens eatyourgreens merged commit 49e3bc3 into ui-enhancements Jan 20, 2025
10 of 11 checks passed
@eatyourgreens eatyourgreens deleted the refactor-new-admin-ids branch January 20, 2025 12:03
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.

1 participant