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

Convert to using platform independent filenames/paths #12

Closed
zaneselvans opened this issue Feb 8, 2017 · 1 comment
Closed

Convert to using platform independent filenames/paths #12

zaneselvans opened this issue Feb 8, 2017 · 1 comment
Assignees
Labels
bug Things that are just plain broken.
Milestone

Comments

@zaneselvans
Copy link
Member

Right now there are some hard coded paths referring to data files within the project. Mostly they currently assume a Unix/OSX type filesystem. They should be made platform agnostic, using the os.path module.

@zaneselvans zaneselvans added the bug Things that are just plain broken. label Feb 8, 2017
@zaneselvans zaneselvans added this to the Linking FERC and EIA Fuel Data milestone Feb 8, 2017
@zaneselvans zaneselvans self-assigned this Feb 8, 2017
@swinter2011 swinter2011 added this to Coding - To Do in CPI FFRP Feb 9, 2017
@zaneselvans
Copy link
Member Author

This has mostly been taken care of with the ferc1.py and pudl.py modules using os.path. There are now global variables in settings.py that indicate the location of data directories within the project for various purposes, and lower level directories are constructed with os.path.join. Might still need to weed out some remaining messes. Also use of automated scripts for downloading data and cleaning up the paths made this cleaner and simpler (getting rid of UPLOADERS and the other intervening directoires in the FERC Form 1 for instance).

@zaneselvans zaneselvans moved this from Coding - To Do to DONE in CPI FFRP Feb 19, 2017
@swinter2011 swinter2011 removed this from DONE in CPI FFRP Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that are just plain broken.
Projects
None yet
Development

No branches or pull requests

1 participant