Skip to content
Snippets Groups Projects
Select Git revision
  • aaa52d9d51fabcc106e222f63b3bf3a8bb67ed83
  • main default protected
  • CICD_Fix_kr
  • Kelvinrr-patch-2
  • Kelvinrr-patch-1
  • docs_workflow
  • read_gpf_changelog
  • read_gpf_gxp_hybrid
  • ci_py_version
  • 1.6.0
  • v1.5.5
  • v1.5.4
  • v1.5.3
  • v1.5.2
  • v1.5.0
  • v1.5.1
  • v1.4.0
  • v1.3.0
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
27 results

setup.py

  • David P. Mayer's avatar
    aaa52d9d
    Added GXP support to read_gpf() (#164) · aaa52d9d
    David P. Mayer authored
    * Added GXP support to read_gpf()
    Modified read_gpf() in io_bae.py to support reading of either legacy Socet Set-style GPF files or new Socet GXP-style GPF files. Function now takes a boolean, `gxp` to flag whether function should interpret input file as SSET or GXP style, defaulst to SSET style for backwards compatibility. Removed unused variables from read_gpf(). Field names are now hard-coded in the function, rather than generated dynamically. The hints about field names in the GXP-style GPFs are just complicated enough that hard-coding a list of field names into the function was the simplest solution. Datatypes for each field were already hard-coded, so hard-coding the names is stylistically consistent.
    
    Partially address #24
    
    * Deleted extraneous comment
    
    * Added tests for read_gpf() and updated Socet GXP test data
    
    * Updating test for read_gpf(), ticking minor version number
    
    * Fixing fixtures...maybe
    
    * Fixing fixtures...maybe
    
    * Correct variable assignment in read_gpf(), more fixing fixtures
    
    * Fixing test parameterization
    
    * More test parameterization tweaks
    aaa52d9d
    History
    Added GXP support to read_gpf() (#164)
    David P. Mayer authored
    * Added GXP support to read_gpf()
    Modified read_gpf() in io_bae.py to support reading of either legacy Socet Set-style GPF files or new Socet GXP-style GPF files. Function now takes a boolean, `gxp` to flag whether function should interpret input file as SSET or GXP style, defaulst to SSET style for backwards compatibility. Removed unused variables from read_gpf(). Field names are now hard-coded in the function, rather than generated dynamically. The hints about field names in the GXP-style GPFs are just complicated enough that hard-coding a list of field names into the function was the simplest solution. Datatypes for each field were already hard-coded, so hard-coding the names is stylistically consistent.
    
    Partially address #24
    
    * Deleted extraneous comment
    
    * Added tests for read_gpf() and updated Socet GXP test data
    
    * Updating test for read_gpf(), ticking minor version number
    
    * Fixing fixtures...maybe
    
    * Fixing fixtures...maybe
    
    * Correct variable assignment in read_gpf(), more fixing fixtures
    
    * Fixing test parameterization
    
    * More test parameterization tweaks