-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rewrite branch needs to consolidate code #30
Comments
One thing that I noticed - the argument parsing was moved from the top of the file and into a new class also called |
I also noticed some bugs in the indentation and function syntax throughout - we should make sure that the copied over code is being done correctly and put at the right indentation levels. E(z) is an example of this. |
Here is how we can solve some of our versioning history and credit problems: (1) Go to your local repo and commit any local changes that you have |
OR, it would be simpler just to use |
I believe this was completed a while ago - closing for now. |
Right now the
rewrite
branch has the main code split into two copies -clustr.py
andnewnewclustr.py
. That's no good! We need to consolidate into a single file that we all work off, namelyclustr.py
(though we can keep some of the new implementations fromnewnewclustr.py
).Taking a quick look at the two copies, I suggest that we use keep the following from each file:
clustr.py
:Config
argparse
arguments in theArgumentParser
class, but move them into the correct format innewnewclustr.py
get_data()
function in theCatalog
class (which we will co-opt into the newData()
constructornewnewclustr.py
:parser
structure (at the top of the file)main()
function, as it's using the new OO designCatalog
, as we're restructuring it in the new designRemember that we're not going to 'lose' anything by consolidating - the main code is still in the
master
branch! We can still reuse things from the main code if we find them helpful, but we're also not forced to use it.The text was updated successfully, but these errors were encountered: