openPMD/openPMD-api

Patches Load: Exception Handling

開放

#750 建立於 2020年6月5日

 (0 則留言) (0 個反應) (0 位負責人)C++ (57 個分叉)auto 404
affects latest releasebugfrontend: Python3good first issuehelp wanted

倉庫指標

星標
 (160 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug Loading a non-existent particle patch should not segfault but throw (in Python).

Generally, try to derive and document a high-level workflow to deal with particle patches for scripts and frameworks such as ParaView.

To Reproduce https://github.com/ComputationalRadiationPhysics/particle_reduction/issues/8

Expected behavior Throw an exception and add simple probing functionality or high-level iterators.

Software Environment

  • version of openPMD-api: 0.11.0-alpha
  • installed openPMD-api via: all
  • operating system: Ubuntu Linux 18.04 / all
  • machine: local laptops / all
  • name and version of Python implementation: CPython 3.7/3.8
  • version of HDF5: N/A
  • version of ADIOS1: N/A
  • version of ADIOS2: N/A
  • name and version of MPI: N/A

Additional context Related to report in https://github.com/ComputationalRadiationPhysics/particle_reduction/issues/8

貢獻者指南