Skip to content
Snippets Groups Projects

Random seed value each time get_random_db_interface is executed

Merged Karim Ahmed requested to merge fix/new_random_seed_for_multiprocesses into master
All threads resolved!

@klackova reported an issue for having a report with multiple warnings that constants were previously injected.

These Warnings state that constants were injected previously and will not be injected again. After checking CALCAT it is observed that the mentioned constants were injected during the same processing with the Warnings.

https://in.xfel.eu/calibration/reports/2464 https://in.xfel.eu/calibration/reports/2473 https://in.xfel.eu/calibration/reports/2472

Description

From the calibrationDBRemote and debugging cal_tools.

Initializing the random generator using a random seed value. Solved this issue.

As the issue was pretty reproducible during testing with max-exfl017. I could make sure that the issue disappeared with the fix.

How Has This Been Tested?

Tested by running the SUMMARY FF notebook with one of the mentioned FF processings but while injecting to max-exfl017 and saving no local constants.

Relevant Documents (optional)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@schmidtp @klackova @danilevc

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Karim Ahmed added 1 commit

    added 1 commit

    • 0e7cc8d4 - remove unneeded args from np.random.seed

    Compare with previous version

  • Karim Ahmed resolved all threads

    resolved all threads

  • Thanks, LGTM!

  • Thank you for the review!

  • merged

  • Karim Ahmed mentioned in commit 517b8958

    mentioned in commit 517b8958

  • Philipp Schmidt changed milestone to %3.7.1

    changed milestone to %3.7.1

  • Please register or sign in to reply
    Loading