Skip to content
Snippets Groups Projects
  1. Jan 22, 2019
  2. Dec 20, 2018
  3. Dec 14, 2018
  4. Dec 12, 2018
  5. Nov 29, 2018
  6. Nov 28, 2018
  7. Nov 06, 2018
  8. Sep 21, 2018
  9. Sep 19, 2018
  10. Sep 18, 2018
  11. Sep 05, 2018
  12. Aug 15, 2018
  13. Mar 20, 2018
  14. Jul 21, 2017
  15. Jul 17, 2017
  16. Apr 20, 2017
  17. Apr 11, 2017
  18. Apr 04, 2017
  19. Apr 03, 2017
  20. Mar 16, 2017
  21. Mar 13, 2017
    • Alan De Smet's avatar
      when gui loads a file, guess at default variable · e219ba43
      Alan De Smet authored
      If we had a file open in that "slot" (A or B) already, and the selected variable name is also present in the new file, pick that.
      If that doesn't work, check to see if the selected variable name in the other file (B or A) is present, and if so pick that.
      Otherwise stick with the existing default: the first item.
      
      This should speed things up a little bit when bouncing between files, as the variable the user is most likely interested will already be selected.
      e219ba43
    • Alan De Smet's avatar
      loosely synchronize variable selection in gui. · ae766fa0
      Alan De Smet authored
      In the GUI, if the user changes the A variable, and the A and B variables were the same, try to change the B variable to match.
      
      Changed from catching activated to currentIndexChanged, as the former doesn't work when the selection is programmatically changed.
      ae766fa0
  22. Mar 09, 2017
  23. Mar 08, 2017
  24. Dec 28, 2016
    • Alan De Smet's avatar
      Raise built-in open exceptions if file inaccessible · 5718694e
      Alan De Smet authored
      If the file is inaccessible, raise the same Exception the built-in global open() would.  This makes for more specific and helpful errors. This is done by doing an experimental open() on the file and not catching anything.
      5718694e
  25. Dec 21, 2016
  26. Dec 20, 2016
  27. Dec 05, 2016
    • Alan De Smet's avatar
      Statistics now work on scalar values (0d arrays) · 7470eaa5
      Alan De Smet authored
      For variables who shape is "0" (that is, a simple scalar value), statistics calculations now work.  Although many of the statistics are silly, this is useful for report generation.
      
      Implementation: DataObject has a new function "holding_array" which in most cases returns itself. But if self.data.shape==0, it returns a copy of itself with self.data's scalar value tossed into a single element array.  Now that the data is an array, as expected, the statistics code works fine.
      7470eaa5
  28. Aug 10, 2016
    • Alan De Smet's avatar
      add --parsable, formatting info output for parsing · fe19e296
      Alan De Smet authored
      "glance info --parsable" now outputs the results in tab deliminated format, repeating the filename on each line, making it easier to parse programmatically. Additional fields may be added later!
      
      At the moment only supports "info".  May add support for other formats later.
      fe19e296
    • Alan De Smet's avatar
      "Data shape" shows single value arrays directly · da7b268b
      Alan De Smet authored
      In glance gui, if a variable has only a single value, it will be displayed directly in the "Data shape" field.
      da7b268b
    • Alan De Smet's avatar
      convert tabs to spaces, per style · 4b5889d1
      Alan De Smet authored
      4b5889d1
    • Alan De Smet's avatar
      support GUI Display Data on 0d variables · e0647cae
      Alan De Smet authored
      A 0 dimention numpy array is weird.  It's neither a scalar, nor a 1 dimensional array with a single element. "Display Data" silently refused to work for such values.
      
      This change converts the 0d array into a 1d array with a single element immediately before trying to display it.  Result: Display Data now works on 0d arrays, showing the single value as expected.
      e0647cae
  29. Jul 27, 2016
  30. Jul 14, 2016
    • Alan De Smet's avatar
      Sort variables in output from stats & inspectStats. · 6ec2323e
      Alan De Smet authored
      Previously output was ordered in whatever order the set happened to offer them in. This was not stable between different Python versions.  Ordered alphabetically(ish) should be more human friendly, and will simplify the tests.
      6ec2323e
Loading