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

Elements in stats/dashboard are named incorrectly #171

Open
Bjwebb opened this issue Aug 4, 2014 · 2 comments
Open

Elements in stats/dashboard are named incorrectly #171

Bjwebb opened this issue Aug 4, 2014 · 2 comments
Labels
Milestone

Comments

@Bjwebb
Copy link
Contributor

Bjwebb commented Aug 4, 2014

.// is used when ./ should be.

This is due to a typo here

codelist_mapping = {re.sub('^\/\/iati-activity', './', k):v for k,v in codelist_mapping.items()}

(//iati-activity/blah becomes .//blah instead of ./blah)

@Bjwebb Bjwebb added this to the Iteration 3 milestone Aug 4, 2014
@hayfield hayfield added the bug label Sep 25, 2017
@akmiller01
Copy link
Contributor

Still an issue: http://dashboard.iatistandard.org/codelists.html

@chrisarridge
Copy link
Contributor

@Bjwebb it's easy to make this fix in the Dashboard but we need to synchronise the change with a matching change in Stats.

Perhaps it might be useful for us to create a submodule, or come up with some other way to decouple them. Could we remove the codelist transformation in Stats (just use the bare paths as keys) and then just have the transformations in one place (Dashboard)?

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

No branches or pull requests

4 participants