-
Notifications
You must be signed in to change notification settings - Fork 12
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
update to OpenRefine 3.1 and some basic enhancements by psychemedia #8
Conversation
Looks good to me. Thanks for refurbishing this! |
@@ -33,6 +36,6 @@ def get(self, *args): | |||
def setup_handlers(web_app): | |||
web_app.add_handlers('.*', [ | |||
(ujoin(web_app.settings['base_url'], 'openrefine/(.*)'), | |||
OpenRefineProxyHandler, dict(state={})), | |||
OpenRefineProxyHandler, dict(state={'port':3333})), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the advantage of doing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for merging!
3333 is the default port used by OpenRefine. Specifying it here makes it easier to connect with the python client (which tries to reach the OpenRefine server on 127.0.0.1:3333 by default). @psychemedia suggested this in #6 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Makes sense!
I'll merge this now and if we need to we can make a new PR to change the port behaviour again. |
I would like to suggest some improvements from @psychemedia (and some minor additions by myself) for the main repo:
There is also a demo notebook in https://github.com/ouseful-PR/openrefineder. It works with the suggested changes in this pull request but I think that it is still work in progress.