jnfrye / local_plants_book

MIT License
0 stars 0 forks source link

Clean up the code #1

Open jnfrye opened 7 years ago

jnfrye commented 7 years ago

Before I work on any new features, I want to clean the code up a bunch. I'll use this issue to keep track of what needs cleaning up.

jnfrye commented 7 years ago

Re-organization of the code is taking place in branch reorganizing_files.

jnfrye commented 7 years ago

I've started to address the import problems from reorganizing the code by adding a setup.py file that will let python see this project if you run the script. There might be a better way, though, and I'm not sure this will solve the problems I'm running into.

jnfrye commented 7 years ago

Finished reorganizing files. See commit 820ebaa

jnfrye commented 7 years ago

EDIT: This is now its own issue: #8

Coordination of data output is taking place in branch data_output_configuration.

I am thinking of having a coordinate_data.py file that can be imported by scripts and used to get the appropriate folders for input/output. Also, in the setup.py file, I want to make it so it creates a configuration file or something that specifies where to send data, with the default behavior being a folder located relative to the setup script: ../data/ etc.

jnfrye commented 7 years ago

Refactoring is taking place on branch refactoring_first_pass