Skip to content

Few Notes

Ramkrishna Sharma edited this page Aug 11, 2020 · 1 revision

To Do

current pull request updates

  1. Added exception if no cross-section info found for a dataset in the cross-section json file.
                if prim in self.cross_sections_:
                    xsec = self.cross_sections_[prim]

to

                if prim in self.cross_sections_:
                    xsec = self.cross_sections_[prim]
                else:
                    raise Exception("No cross-section info found for dataset : /%s. Check file Metadata/data/cross_sections.json" % ( prim))

Clone this wiki locally