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

Fixed public transport CO2 emission #78

Merged
merged 4 commits into from
Aug 6, 2016
Merged

Conversation

heychirag
Copy link
Collaborator

@heychirag heychirag commented Aug 2, 2016

Hi @ceilican,

I have removed the need for passing 'type' as an extra argument. However, it is still being used for calling functions in same namespace. As of different namespaces, I have created a different function for each. Let me know if you like this approach. If this is okay, I will add an option in the options page to let the user configure the number of passengers in a bus.

The Best

@ceilican
Copy link
Contributor

ceilican commented Aug 5, 2016

Hi @heychirag ! Yes, I think it is ok now!

Just one thing: your PR is failing on one test (https://travis-ci.org/OiWorld/CarbonFootprintGoogleMaps/builds/149279129). Could you find out why and fix your PR or the tests? As soon as the PR passes all tests, I will merge it.

@heychirag
Copy link
Collaborator Author

Hi @ceilican,

I have fixed the bug. Now driving i.e. 'd' will be considered as the default type if not passed to the function.

@ceilican ceilican merged commit 182be23 into OiWorld:master Aug 6, 2016
@ceilican
Copy link
Contributor

ceilican commented Aug 6, 2016

Thanks!!

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

Successfully merging this pull request may close these issues.

2 participants