Skip to content

LiteDataMap.hdf now gets copied over when user calibration folder gets created#681

Open
dlcaballero16 wants to merge 6 commits into
nextfrom
copy-litegroupmap-for-calibration-folder
Open

LiteDataMap.hdf now gets copied over when user calibration folder gets created#681
dlcaballero16 wants to merge 6 commits into
nextfrom
copy-litegroupmap-for-calibration-folder

Conversation

@dlcaballero16
Copy link
Copy Markdown
Collaborator

Description of work

When a user has no write permissions and the calibration folder is created under ~/snapred, LiteDataMap.hdf is now included when the folder is created.

Explanation of work

copyCalibrationRootSkeleton in LocalDataService.py was updated to copy over LiteGroupMap.hdf too.

To test

Dev testing

On analysis, check and make sure that ~/.snapred/Calibration does not already exist. Now, attempt to run DiffCal on run 59039 and click yes on the prompt to create a new Calibration folder. Now inspect the newly created ~/.snapred/Calibration folder and see that Powder now contains LiteGroupMap.hdf.

CIS testing

Essentially do the steps in Dev testing, but make sure you update your config so that you don't have write permissions, otherwise the ~/.snapred/Calibration folder won't get generated.

Link to EWM item

EWM#15722

Verification

  • the author has read the EWM story and acceptance critera
  • the reviewer has read the EWM story and acceptance criteria
  • the reviewer certifies the acceptance criteria below reflect the criteria in EWM

Acceptance Criteria

This list is for ease of reference, and does not replace reading the EWM story as part of the review. Verify this list matches the EWM story before reviewing.

  • acceptance criterion 1
  • acceptance criterion 2

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.47%. Comparing base (ddd85d0) to head (be1553c).

Additional details and impacted files
@@           Coverage Diff           @@
##             next     #681   +/-   ##
=======================================
  Coverage   96.47%   96.47%           
=======================================
  Files          79       79           
  Lines        7258     7258           
=======================================
  Hits         7002     7002           
  Misses        256      256           
Flag Coverage Δ
integration 48.84% <ø> (ø)
unittests 96.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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