icecube.production_histograms.generate_collection_name module

icecube.production_histograms.generate_collection_name.generate_collection_name(path)

Given a path with /path/to/files/X-Y/subrun/filename.i3.gz strip out the /X-Y/ and the trailing filename and return path:to:files:subrun

You can look at this as a readable hash, in that it should be unique, that can be used for a collection name.