Skip to content

fix numpy.random.choice error in unwrap_error_phase_closure#989

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:bugfix
Apr 11, 2023
Merged

fix numpy.random.choice error in unwrap_error_phase_closure#989
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:bugfix

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented Apr 11, 2023

Description of proposed changes

  • unwrap_error_phase_closure: fix bug found by circle CI

    • use numpy random Generator syntax as recommended
    • fix the numpy.random.choice error by forcing the input arg as int type
  • README: fix broken links to Gamma, mintpy sub-modules/files due to "src" structure change.

  • utils.readfile.read_binary_file(): read data_type from Gamma .par file if exists

  • objects.sensor.ALOS2: more comments in different modes

Reminders

  • Pass Pre-commit check (green)
  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.

+ unwrap_error_phase_closure: fix bug found by circle CI
   - use numpy random Generator syntax as recommended
   - fix the numpy random choice error by forcing arg as int type

+ README: fix broken links to Gamma, mintpy sub-modules/files due to "src" structure change.

+ utils.readfile.read_binary_file(): read data_type from Gamma .par file if exists

+ objects.sensor.ALOS2: more comments in different modes
@yunjunz yunjunz merged commit 5ca554f into insarlab:main Apr 11, 2023
@yunjunz yunjunz deleted the bugfix branch April 11, 2023 13:20
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