Difference between revisions of "Development"

From VistrailsWiki
Jump to navigation Jump to search
Line 37: Line 37:
** Simple types may cause problems with some web-services using complex or XML-based types.
** Simple types may cause problems with some web-services using complex or XML-based types.
** Need to make sure that this library can handle at least MOST of the web-services out there.
** Need to make sure that this library can handle at least MOST of the web-services out there.
* Sub-workflows
** Daniel's changes seem functional and very slick.
** A little more work on it seems necessary.
** Need some easy GUI mechanism to delete a subworkflow.
** Is the exclamation point in the module draw the best way to handle this?  Make a tool-tip to explain it.
* VTK Wrapping
** Changes to VTK Python wrapping is causing headaches - particularly in backwards compatibility.
** Method typing has changed to expect things like "List" or "Vector" - makes things hard on the user when defining these inputs.
** Removing List and Vector types and replacing them with dynamically generated versions from Tuples.
* Aliases - Agenda pushed until after Vis.
* Error Logging - Unify some error handling to improve how exceptions are dealt with.  More on this after Vis.
* Refactoring out PyQt dependencies from Core/Db/etc - Need to move all the signals/slots into GUI elements.  Questions come when a workflow uses GUI elements as inputs.  - More after vis.
* Ports - We need a way of showing how a port is specified - function vs. input port.  Cardinality must be established in these cases.  Ordering on multiple connections should be handled in some way - whether it's just a documentation issue or a more fundamental one.
** Should we have a tutorial mode that bring up tooltips when someone does something new as if it were a live tutorial.





Revision as of 20:20, 19 October 2010

Roadmap

Weekly Meetings

Oct 19, 2010

  • Update on Trac and Roadmap (Emanuele and David)
    • Trac is now linked to git repository
    • Roadmap on Trac has been cleaned up so we can hide completed milestones
    • Tickets are being reassigned/revisited. Many tickets (24) are not associated with a milestone yet https://vistrails.sci.utah.edu/report/3
  • Synchronizing VisTrails and ALPS releases
  • Web services support (Tommy)
    • discuss the interaction between the Web Services package and upgrades
  • Subworkflows update (Daniel)
  • Testing of new module drawing (Erik)
  • Aliases
    • Currently, an alias is stored on a parameter. We need aliases to be stored at a higher level so that changing an alias is not a change to a parameter. The one issue is that there is a link between parmaeters and aliases in that an alias can only exist for versions that have the specified parameter. We might also have two versions where the alias points to different parameters. We could just store aliases as a root-level workflow element so that the set of aliases is versioned corrected.
    • In the current implementation, the aliases parsed from the parameters are stored in a dictionary in the workflow, so storing aliases as a root-level workflows element might be the way to go --Emanuele 19:50, 15 October 2010 (MDT)
  • Error logging
    • Suggest that we have a single point for all error messages to pass through that is linked to both core.debug and GUI elements that display error messages. This should improve our error handling significantly
  • PyQt dependencies in core
    • Can we get rid of PyQt dependencies in core (and db)? This would probably require moving the signals/slots that we currently use to a similar Python implementation which shouldn't be too difficult. This would also require the specification of configuration widgets not as classes but rather some text that can be used to import the GUI elements only when using the GUI code. However, what would happen with workflows that run in command-line mode but require some graphical output?
  • Ports
    • One annoying part of the current VisTrails model is that users are not given any visual indication that a port value is already set by a function or vice versa by a connection. In addition, we have no way to specify or enforce cardinality on ports at design time. It seems like we could allow developers to specify when a port should not be connected to more than one value (via a function or a connection), and give some visual feedback when a port has already been specified in one manner.

Meeting Notes

  • Bug regarding userpackages at initial vistrails startup causing startup to fail.
    • Still an issue, ticket still open as a 1.6 milestone
  • Copy-paste bug
    • Shortcut not working on Mac. Focus makes shortcut try to copy pipeline.
    • Current fix appends to clipboard as users type - this is not a good fix.
  • Synchronizing ALPS and VisTrails releases
    • 1.6 scheduled for Dec. 1
  • Webservices
    • New library being used, but it's very low level.
    • Simple types may cause problems with some web-services using complex or XML-based types.
    • Need to make sure that this library can handle at least MOST of the web-services out there.
  • Sub-workflows
    • Daniel's changes seem functional and very slick.
    • A little more work on it seems necessary.
    • Need some easy GUI mechanism to delete a subworkflow.
    • Is the exclamation point in the module draw the best way to handle this? Make a tool-tip to explain it.
  • VTK Wrapping
    • Changes to VTK Python wrapping is causing headaches - particularly in backwards compatibility.
    • Method typing has changed to expect things like "List" or "Vector" - makes things hard on the user when defining these inputs.
    • Removing List and Vector types and replacing them with dynamically generated versions from Tuples.
  • Aliases - Agenda pushed until after Vis.
  • Error Logging - Unify some error handling to improve how exceptions are dealt with. More on this after Vis.
  • Refactoring out PyQt dependencies from Core/Db/etc - Need to move all the signals/slots into GUI elements. Questions come when a workflow uses GUI elements as inputs. - More after vis.
  • Ports - We need a way of showing how a port is specified - function vs. input port. Cardinality must be established in these cases. Ordering on multiple connections should be handled in some way - whether it's just a documentation issue or a more fundamental one.
    • Should we have a tutorial mode that bring up tooltips when someone does something new as if it were a live tutorial.


Oct 12, 2010

  • Trac and Roadmap (Emanuele): Emanuele suggested we should create a development roadmap and make it a permanent item on the agenda. The idea is to go through the Trac tickets and use them to build the roadmap that would be made public.
    • go through trac and sort by priority
    • add other suggestions to roadmap as well
    • admins can add milestones via the admin tab
    • David will assign tasks on list; those assigned need to follow up and check and fix them
  • Update on PythonSource error reporting and logging (Tommy)
    • Need to make sure that all messages are printed through debug.X, so that the debug level (verboseness in preferences) is correctly used
    • Can cut/copy/paste now
    • Can we prevent the delete from happening?
    • Phillip noted the spyder project has an interactive python console: http://packages.python.org/spyder/
    • Can press enter to get to the end
    • Need to check if this works or if we need to change
    • Now have ability to see stack trace from the GUI (triangle menu)
    • Suggest using a dialog to display trace when this item is selected instead of printing to console
    • Also saving stack trace to the execution log
    • Also printing debug information to vistrails log
    • Add trac item to fix prints to use debug
    • Try to fix core.debug to have gui.debug to eliminate Qt dependency
  • Update on subworkflow (Daniel)
    • Notification when subworkflow is outdated triggered
    • new_abstraction signal from registry in addition to new_module signal so that we can check if we need subworkflows to update
    • How to display the possible upgrades (can be upgraded, can be upgraded but may break, etc.)
  • New utility added by Carlos (currently at scripts/module_appearance) to draw fringes visually, which generates output that can be pasted directly into the add_module call.
    • Erik will test this on Mac and Windows.
  • Preparing a "Get Started" tutorial for SIGMOD repeatability
    • Do we have instructions on how to use the latex package without crowdlabs?
      • links to actual workflows in latex
      • have README and example for latex in the source
    • Metadata associated with VisTrails: should we have the ability to add vistrail-level metadata? e.g., who created the vistrail, its purpose, etc.
      • have pointers to paper to workflow and vistrails
      • add pointers to papers
      • allow access to add/edit annotations at the vistrail level
      • add GUI element to allow people to edit/add annotations
  • Maintaining VTK package
    • have four classes that don't wrap, have error even in python level
    • works well with VisTrails otherwise
    • haven't checked the new changes from the wrapping
    • Wendel will check on the new version

Oct 5, 2010

  • Welcome Tommy!
  • Update on subworkflow (Daniel)
  • Issues raised by Matthias:

- need to automatically upgrade subworkflows. Currently it is necessary to manually upgrade a subworkflow whenever the version of one of the modules inside them changes.

- explorations do not detect an MplFigureCell embedded in a subworkflow.