[vistrails-dev] [VisTrails/VisTrails] 4f540e: Highlight unset ports in input ports list

GitHub noreply at github.com
Wed Feb 11 23:53:45 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/VisTrails/VisTrails
  Commit: 4f540e771236d555f0cea5674b814edee1551a10
      https://github.com/VisTrails/VisTrails/commit/4f540e771236d555f0cea5674b814edee1551a10
  Author: Tommy Ellqvist <tommy.ellqvist at nyu.edu>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M vistrails/gui/ports_pane.py

  Log Message:
  -----------
  Highlight unset ports in input ports list

"Unset" ports are mandatory constant ports (min_conn>0) that are
not set and not connected

This commit moves them to the top of the ports list and
makes them bold (like their module port counterpart).

gui/ports_pane.py:
 - PortItem:
   New attribute: is_unset
 - PortItem.calcUnset: *new
   Determines if the port is unset and makes it bold
 - PortItem.__lt__:
   Move unset items to the top


  Commit: 347569a7410274e8ef8763a643e94ad09857094a
      https://github.com/VisTrails/VisTrails/commit/347569a7410274e8ef8763a643e94ad09857094a
  Author: Remi Rampin <remirampin at gmail.com>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M vistrails/gui/ports_pane.py

  Log Message:
  -----------
  Merge pull request #997 from VisTrails/highlight-unset-ports

Highlight unset ports in input ports list


Compare: https://github.com/VisTrails/VisTrails/compare/ff94a5b61974...347569a74102


More information about the vistrails-dev mailing list