1. 20 Apr, 2017 1 commit
  2. 11 Apr, 2017 2 commits
  3. 04 Apr, 2017 2 commits
  4. 03 Apr, 2017 1 commit
  5. 16 Mar, 2017 4 commits
  6. 13 Mar, 2017 2 commits
    • 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
  7. 09 Mar, 2017 1 commit
  8. 08 Mar, 2017 1 commit
  9. 28 Dec, 2016 1 commit
    • 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
  10. 21 Dec, 2016 2 commits
  11. 20 Dec, 2016 1 commit
  12. 12 Dec, 2016 1 commit
  13. 07 Dec, 2016 1 commit
  14. 05 Dec, 2016 1 commit
    • 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
  15. 12 Aug, 2016 5 commits
  16. 10 Aug, 2016 4 commits
    • 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
  17. 27 Jul, 2016 3 commits
  18. 25 Jul, 2016 2 commits
  19. 14 Jul, 2016 4 commits
  20. 13 Jul, 2016 1 commit