Closed mlincett closed 2 years ago
This is similar (but different) to https://github.com/icecube/skymap_scanner/issues/5
@ric-evans is this blocking for you in some way? I have started a review/cleanup of the code so I have a better idea of what should go where, however it may take some time before I get to the point of tidying up the symlinks.
Yes, and no. For the time being, symlinks are better than duplicate files. If we could replace old versions of .py
files with symlinks to the newer version (#5), this could go a long way in understanding what should go where.
My ultimate goal is to shake up the entire directory tree (this would be a follow-up issue/PR). I'd like four directories:
scripts/
(where every file has a if __name__=='main'
), skymap_scanner/
(python modules only, no scripts), tests/
, and resources/
(non-python files only, .json
,.csv
, .sh
, etc.)What I'm seeing that's concerning currently is there are scripts in python
and modules in resources/scripts
, this is something that I'd like to fix.
Something to keep in mind is whether this is an "icetray" project, or a regular python project. They have different formats, with what @ric-evans is proposing is the python project format.
Something to keep in mind is whether this is an "icetray" project, or a regular python project. They have different formats, with what @ric-evans is proposing is the python project format.
That's true. There's a large similarity in either format: let's reduce the number of directories with python files.
Several files in
resources/scripts
are symlinks topython
. This likely requires a cleanup.