Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbosity in the VIS API #243

Closed
mikewinters opened this issue Nov 1, 2013 · 3 comments
Closed

Verbosity in the VIS API #243

mikewinters opened this issue Nov 1, 2013 · 3 comments
Assignees

Comments

@mikewinters
Copy link
Member

Running the VIS API does not give any user feedback on the states of the code. For example:

wm = WorkflowManager('../Beethoven String Quartet #1.mid')
wm.load('pieces')
wm.run('intervals')
wm.export('CSV','output_filename')

Leaves me hanging for a few minutes without telling me what's happening.

I would suggest a verbosity 'switch' that the user can turn on or off, but which causes VIS to systematically post what it is doing. This is done with a global control in the MIRToolbox, and it works great!

@ghost ghost assigned crantila Nov 1, 2013
@crantila
Copy link
Member

crantila commented Nov 1, 2013

This will be a change to the WorkflowManager.

I think we could implement this with a single "update status" method. All the other methods will call _update_status() when applicable, and the latter will act in a way suitable for the interface available. By default, probably that's just a print statement, but the PyQt interface could change this to emit a signal.

Whether any status messages do anything can be controlled by a Shared Setting.

@crantila crantila modified the milestones: vis-framework-1.1.0, visXa Apr 6, 2014
@alexandermorgan
Copy link
Contributor

Motion to close... I don't think we need this.

@crantila crantila mentioned this issue Aug 17, 2015
@crantila
Copy link
Member

Closed in favour of #357, which seems more suitable for the framework's goals today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants